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 ongeveer 4 uur ago
Edited: Torsten ongeveer 4 uur ago
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)

Products

Release

R2025b

Asked:

Tom
ongeveer 8 uur ago

Commented:

dpb
ongeveer 5 uur ago

Community Treasure Hunt

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

Start Hunting!