How to copy axes with colormap?

4 vues (au cours des 30 derniers jours)
Hiranth Shenal Fernando
Hiranth Shenal Fernando le 6 Fév 2019
I currently am working on a GUI that can export a plot to an image file using exportdlg. It takes the axes the plot is in and uses copyobj to copy the axes to an invisible figure for export. The system currently works for the most part but I have run into a problem with colormaps.
When using copyobj and exportdlg, the image file does not have my colormap applied at all but my axes shows the colormap applied in my gui.
How do I use copyobj or exportdlg to include my colormap?
  1 commentaire
Hiranth Shenal Fernando
Hiranth Shenal Fernando le 7 Fév 2019
I can attach images to show what I mean if that helps?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Color and Styling dans Help Center et File Exchange

Produits


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by