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 Comments

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

Sign in to comment.

Answers (0)

Categories

Find more on Printing and Saving in Help Center and File Exchange

Products

Release

R2025b

Asked:

Tom
on 23 Mar 2026 at 11:12

Commented:

dpb
on 23 Mar 2026 at 14:24

Community Treasure Hunt

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

Start Hunting!