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 件のコメント

Theyab Alamri
Theyab Alamri 2021 年 8 月 24 日
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 2021 年 8 月 24 日
My pleasure!
It is a 2D plot, so zlabel is not necessary.
However using legend would likely help.
.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeGraphics Performance についてさらに検索

タグ

質問済み:

2021 年 8 月 24 日

コメント済み:

2021 年 8 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by