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 commentaires

Torsten
Torsten le 23 Mar 2026 à 11:17
Modifié(e) : Torsten le 23 Mar 2026 à 11:19
Contact support together with the necessary information about the MATLAB release you use, operating system etc. :
dpb
dpb le 23 Mar 2026 à 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Printing and Saving dans Centre d'aide et File Exchange

Produits

Version

R2025b

Question posée :

Tom
le 23 Mar 2026 à 11:12

Commenté :

dpb
le 23 Mar 2026 à 14:24

Community Treasure Hunt

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

Start Hunting!

Translated by