Plotting Graph in Matlab
Ältere Kommentare anzeigen
I want to show dotted line between 81 to 85, how can i show it.
Akzeptierte Antwort
Weitere Antworten (1)
Vartika Agarwal
am 12 Mai 2022
0 Stimmen
3 Kommentare
Sam Chak
am 12 Mai 2022
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

Vartika Agarwal
am 12 Mai 2022
Sam Chak
am 12 Mai 2022
Kategorien
Mehr zu Spline Postprocessing finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
