采纳的回答

Sam Chak
Sam Chak 2022-5-12
编辑:Sam Chak 2022-5-12
Suggest a simple solution:
t1 = 70:81;
t2 = 81:85;
t3 = 85:100;
plot(t1, t1, 'b', t2, t2, 'b--', t3, t3, 'b')

更多回答(1 个)

Vartika Agarwal
Vartika Agarwal 2022-5-12

0 个投票

I want to draw marker at particular point
73,77,81,85,89,93,100

3 个评论

Alright, can do this way, but you are encouraged to explore how to display the plot.
d = [73, 77, 81, 85, 89, 93, 100];
plot(d, d, 'd')
hold on
t1 = 70:81;
t2 = 81:85;
t3 = 85:100;
plot(t1, t1, 'b', t2, t2, 'b--', t3, t3, 'b')
hold off
Thanks sir for your help
Hi @Vartika Agarwal, don't mention it. Have a nice day!

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Spline Postprocessing 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by