How Can I plot like this?

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

回答(1 个)

Star Strider
Star Strider 2021-8-24

0 个投票

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 个评论

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

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Graphics Performance 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by