How to save jpeg image of data with custom colormap without using a .fig file?

1 vue (au cours des 30 derniers jours)
Dimitar
Dimitar le 14 Nov 2014
I have large data (2Gb) that I have troubles plotting with pcolor or surf ?
How can I save an jpeg image of contour map plot like pcolor with my color map ? I cannot plot the pcolor fig file.
  1 commentaire
Jan
Jan le 16 Nov 2014
Please post your code an explain the occurring troubles. Why can't you plot the pcolor fig file?
What about imwrite?

Connectez-vous pour commenter.

Réponses (1)

Image Analyst
Image Analyst le 16 Nov 2014
You don't have a 2 GB screen so it doesn't make sense to try to plot the whole thing with surf. Try subsampling the data and then calling surf on the subsampled data. To save a contour plot, try export_fig.

Catégories

En savoir plus sur Blue dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by