How to copy axes with colormap?

4 visualizaciones (últimos 30 días)
Hiranth Shenal Fernando
Hiranth Shenal Fernando el 6 de Feb. de 2019
Comentada: Hiranth Shenal Fernando el 7 de Feb. de 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 comentario
Hiranth Shenal Fernando
Hiranth Shenal Fernando el 7 de Feb. de 2019
I can attach images to show what I mean if that helps?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Color and Styling en Help Center y File Exchange.

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by