Hello everybody,
I have a hard time finding the right approach for plotting my data like in the photo. Does anyone know a classical way to do this?
Thanks

Respuestas (1)

Star Strider
Star Strider el 24 de Ag. de 2021

0 votos

To plot two or more functions or data on a single axes, use the hold function. (There are other ways, however hold is likely the easiest to use, and easiest to experiment with.)
.

2 comentarios

Theyab Alamri
Theyab Alamri el 24 de Ag. de 2021
Thank you Star, but how can I plot like the pic?
should I do like this.
xlabel('FMT')
ylabel('Av')
zlabel('Cost')
Star Strider
Star Strider el 24 de Ag. de 2021
My pleasure!
It is a 2D plot, so zlabel is not necessary.
However using legend would likely help.
.

Iniciar sesión para comentar.

Categorías

Más información sobre Graphics Performance en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 24 de Ag. de 2021

Comentada:

el 24 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by