using print command to create high resolution image causes problem with x scale
Ältere Kommentare anzeigen
Hello Matlabers,
I've been using the following command to create 300dpi tif files from MATLAB figures.
print('-dtiff','-r300','FileNameHere')
This has been working fine. However, I've noticed that there is a problem printing one figure which I had saved as a *.fig
This figure is actually a selection of data from multiple channels which I've subplotted. I have altered the ticks on the x-scale so that they read in seconds rather than samples and start at zero. The scale goes up to 500 seconds. However, when I print the figure, the scale on the resulting image only seems to go up to 250 seconds. It still plots all the data, but because the scale is incomplete, the final image is incorrect.
If I save the image as a regular low-res image using the File menu, I don't have this problem. It's only when I use the print command. Any help would be greatly appreciated.
Paul
Antworten (1)
Daniel Shub
am 9 Mai 2012
0 Stimmen
Kategorien
Mehr zu Convert Image Type finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!