How to remove autogenerated legend in stackedplot?
16 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/686318/image.png)
Is there any way to turn that off?
Thanks
0 comentarios
Respuesta aceptada
Cris LaPierre
el 16 de Jul. de 2021
You will have to repeat for each axes.
s.AxesProperties(3).LegendVisible = 'off'
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Legend en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!