Borrar filtros
Borrar filtros

How to remove autogenerated legend in stackedplot?

16 visualizaciones (últimos 30 días)
HWIK
HWIK el 16 de Jul. de 2021
Respondida: Cris LaPierre el 16 de Jul. de 2021
Hi, have the following stackedplot, and if I plot multiple variables in one of the stackedplots I get a legend that looks like this:
Is there any way to turn that off?
Thanks

Respuesta aceptada

Cris LaPierre
Cris LaPierre el 16 de Jul. de 2021
Yes. Set the corresponding AxesProperties.LegendVisible property to 'off'. See here.
You will have to repeat for each axes.
s.AxesProperties(3).LegendVisible = 'off'

Más respuestas (0)

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by