How to copy axes with colormap?

5 visualizzazioni (ultimi 30 giorni)
Hiranth Shenal Fernando
Hiranth Shenal Fernando il 6 Feb 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 Commento
Hiranth Shenal Fernando
Hiranth Shenal Fernando il 7 Feb 2019
I can attach images to show what I mean if that helps?

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Color and Styling in Help Center e File Exchange

Prodotti


Release

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by