plot point
4 次查看(过去 30 天)
显示 更早的评论
Hi, If i take time in x-axis, x=[10 20 30 40 50 60 70 80 90]; and y=[0.001 .05 0.1 .16 .7 .8 .01 .5 .3]; after plotting this, i want to mark a point in y-axis at x=65; Pls help me. Thanks in advance
0 个评论
采纳的回答
Paulo Silva
2011-6-30
x=[10 20 30 40 50 60 70 80 90];
y=[0.001 .05 0.1 .16 .7 .8 .01 .5 .3];
plot(x,y)
hold on
yi = interp1(x,y,65);
plot(65,yi,'r*')
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!