How to copy axes with colormap?

6 Ansichten (letzte 30 Tage)
Hiranth Shenal Fernando
Hiranth Shenal Fernando am 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 Kommentar
Hiranth Shenal Fernando
Hiranth Shenal Fernando am 7 Feb. 2019
I can attach images to show what I mean if that helps?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Color and Styling finden Sie in Help Center und File Exchange

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by