Why legend is missing when I use xline function?

43 ビュー (過去 30 日間)
Jeevan Kumar Bodaballa
Jeevan Kumar Bodaballa 2020 年 5 月 1 日
I am trying to use xline function but legend is having problem when I use xline funtion
you can see below code and plot
clear
x = 1:0.1:10;
y = sin(x);
plot (x,y)
xline(3,'r','example')
legend('why not visble')
  2 件のコメント
Jeevan Kumar Bodaballa
Jeevan Kumar Bodaballa 2020 年 5 月 1 日
helped a lot
Thank you

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

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by