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 Commenti

Torsten
Torsten il 23 Mar 2026 alle 11:17
Modificato: Torsten il 23 Mar 2026 alle 11:19
Contact support together with the necessary information about the MATLAB release you use, operating system etc. :
dpb
dpb il 23 Mar 2026 alle 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.

Accedi per commentare.

Risposte (0)

Prodotti

Release

R2025b

Richiesto:

Tom
il 23 Mar 2026 alle 11:12

Commentato:

dpb
il 23 Mar 2026 alle 14:24

Community Treasure Hunt

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

Start Hunting!

Translated by