MATLAB Graph Export Resolution Destroying Plot

Hi,
When I'm exporting plots through code using the print command, I'm finding that using too high a resolution is destroying my graph and removing data points from it. Please see the attached images for 150, 600 and 1200 dpi. I've always used 600 dpi for png exports and never had this issue before. The plot is also fine within matlab before exporting.1200 dpi
600 dpi - note that beyond 7000 is cut off in this plot
150 dpi

2 Kommentare

Torsten
Torsten am 23 Mär. 2026 um 11:17
Bearbeitet: Torsten am 23 Mär. 2026 um 11:19
Contact support together with the necessary information about the MATLAB release you use, operating system etc. :
dpb
dpb am 23 Mär. 2026 um 14:24
There have been reports of such line dropouts with default line widths, you might try setting linewidth just a tad bit heavier despite it perhaps not being desired just to see.
Also can try exportgraphics to see if behaves any differently.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Printing and Saving finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2025b

Gefragt:

Tom
am 23 Mär. 2026 um 11:12

Kommentiert:

dpb
am 23 Mär. 2026 um 14:24

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by