Can't save image with 300 dpi
Ältere Kommentare anzeigen
I am using matlab R2020b-academic use
.
.bar([1 11 7 8 2 2 9 3 6])
f = gcf;
exportgraphics(f,'barchart.jpg','Resolution',300)
print(gcf,'fig1.jpg','-djpeg','-r300');
I have tried to use export_fig, exportgraphics, and print command to save iamge with 300 dpi. But non of them are working.
Besides I used same code several months ago and it was working perfectly, now it is saving image with 96 dpi by default. I have tried malab given examples for saving images for higher resolution, but same problem.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Printing and Saving 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!