How can I add 4 legends when there are 6 plots?

1 visualización (últimos 30 días)
ASWATHI V
ASWATHI V el 31 de Jul. de 2018
Comentada: ASWATHI V el 9 de Ag. de 2018
I want to add legends in my graph. I have 6 plots and I need only 4 legends. The indicators for legends are also not the same as that of my exact plots. How can I add such legends?

Respuestas (1)

Steven Lord
Steven Lord el 31 de Jul. de 2018
You only want to include some of the lines plotted in your axes in the legend? The "Included Subset of Graphics Objects in Legend" example in the legend function documentation page shows how to do this.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by