I need three lines on one graph

x=0:0.3:30;semilogy(x,exp(x))
coordinates x1= 0, 0,5
x2 = 0, 001
x3=0,001 - another line

回答 (3 件)

TADA
TADA 2018 年 12 月 11 日

0 投票

x=0:0.3:30;
hold off;
semilogy(x,exp(x));
hold on;
semilogy(x,2*exp(x));
semilogy(x,10*exp(x));
Yuriy Gamiy
Yuriy Gamiy 2018 年 12 月 11 日

0 投票

Thank you. Please, how we can change the Y axis. Y [0, 0,08]

1 件のコメント

TADA
TADA 2018 年 12 月 11 日
Sorry, I don't understand, what do you want to put in your Y axis?
what is that Y vector you wrote?

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

Yuriy Gamiy
Yuriy Gamiy 2018 年 12 月 11 日

0 投票

Sorry, Can we call axis Y [0, 0,08] or Axis Y diapazon [0, 0,08] ?

1 件のコメント

TADA
TADA 2018 年 12 月 11 日
If what you want is to change the label,
you can use
ylabel('something something');
and name it whatever you want

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

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

質問済み:

2018 年 12 月 11 日

コメント済み:

2018 年 12 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by