Tuesday, November 13, 2018
Quickly plot a shapefile in Matlab
Are you having a trouble in plotting shapefile in Matlab or the geoshow and mapshow is taking too much time to plot your shapefile then you can use the approach shown below. This is very quick.
shpfile=('landareas.shp');
S1 = shaperead(shpfile);
XX=[];YY=[];
for j=1:length(S1)
%Look for your X and Y variables in your shapefile
XX=[XX S1(j).X;];
YY=[YY S1(j).Y;];
end
plot(XX,YY)
Please leave a comment if you have any problem or if this solution has worked for you.
Related queries:
Plot fast shapefile.
Shapefile hangs, very slow
Quickly view a shapefile in Matlab
Posted by
vicky
at
3:43 AM
Subscribe to:
Post Comments (Atom)
Popular
- How to add or endorse Spouse/ Husband /Wife name of the passport
- Chanakya TV serial, online on youtube, Vol 1-8, All episodes 1-47
- Unbelievable invention of Bheema's skeleton or Bhima's son Gadotkach like skeleton found: A hoax mail
- SBI transaction on 30-Nov-0019 for INTERNET BANKING, what is this for?
- Online status of permesso di soggiorno on the website of Polizia di Stato
No comments:
Post a Comment