Problem About 3D Plot Of Map
Afficher commentaires plus anciens
Hi everyone,
I am trying to plot 3D map whose x and y axis are located on 2D map specified by using worldmap and geoshow functions and z axis is assigned as depth. But, the code I am trying to develop doesn't give what I am expecting. Here is my code;
worldmap([37.400 39.200],[42.000 44.400]);
geoshow('landareas.shp', 'FaceColor', 'yellow');
Latitude=[38.8435 38.8420 38.7043 38.8430 38.8335];
Longitude=[43.5308 43.5710 43.4535 43.4585 43 5795];
Depth=[21.71 21.9 21 25.5 21.8];
plot3m(Latitude,Longitude,Depth, 'o', 'MarkerSize', 3,...
'MarkerFaceColor','r');
How can I solve this problem?
Réponses (1)
José-Luis
le 28 Mai 2013
You are missing a '.':
Longitude=[43.5308 43.5710 43.4535 43.4585 43.5795];
1 commentaire
Catégories
En savoir plus sur Vector and Raster Map Display dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!