Mapping toolbox: Printing worldmap as a vector output
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello, I am using the mapping toolbox to plot some marine data on a world map. Everything looks fine, but when I save the file as an editable vector image (e.g. '-depsc' ), the resulting image contains strange marks and lines (see here: http://imageshack.us/photo/my-images/820/screencapturemr.png/).
It works fine for bitmap formats (e.g. 'dpng'), but I want the image to be in vector format such that I can edit it in Illustrator.
I don't have any idea what I can do to fix this problem.
Here are the commands that I used to create the world map:
figure(1); ax = worldmap('World'); setm(ax, 'Origin', [0 -140 0]);
setm(ax, 'meridianlabel','off'); setm(ax, 'parallellabel','off');
land = shaperead('landareas', 'UseGeoCoords', true); load coast; lakes = shaperead('worldlakes', 'UseGeoCoords', true);
geoshow(ax, land, 'FaceColor', [0.6 0.6 0.6],'EdgeColor','none');
geoshow(lakes, 'FaceColor', [0.6 0.6 0.6],'EdgeColor',[0.6 0.6 0.6],... 'LineWidth',3.0);
After I plotted the data and added a colorbar etc., I save the figure with the following command lines:
figure(1); set(gcf, 'PaperPositionMode', 'auto'); print -depsc2 worldmap.eps
Is this a common problem with the mapping toolbox or do I do something wrong? Is there a way to fix it? Thank you in advance for your help or any suggestions.
-Jan-Erik
1 Kommentar
Antworten (0)
Siehe auch
Kategorien
Mehr zu Mapping Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!