Plotting Graph in Matlab

3 views (last 30 days)
Vartika Agarwal
Vartika Agarwal on 12 May 2022
Commented: Sam Chak on 12 May 2022
I want to show dotted line between 81 to 85, how can i show it.

Accepted Answer

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

More Answers (1)

Vartika Agarwal
Vartika Agarwal on 12 May 2022
I want to draw marker at particular point
73,77,81,85,89,93,100
  3 Comments
Sam Chak
Sam Chak on 12 May 2022
Hi @Vartika Agarwal, don't mention it. Have a nice day!

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!

Translated by