using print command to create high resolution image causes problem with x scale
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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
0 comentarios
Respuestas (1)
Ver también
Categorías
Más información sobre Convert Image Type en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!