Plotting curve in matlab
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Aftab Ahmed Khan
le 9 Juil 2014
Commenté : Image Analyst
le 9 Juil 2014
Hi Everyone,
I want to plot this curve in matlab like this,
plot(of_traffic, block_Pb,'*r');
But i also want to have a continuous curve below these marked points. Any help guys??

0 commentaires
Réponse acceptée
Image Analyst
le 9 Juil 2014
Try
plot(of_traffic, block_Pb,'*r-');
to draw lines between the points.
2 commentaires
Image Analyst
le 9 Juil 2014
plot(of_traffic, block_Pb,'*r'); % Make red stars.
hold on; % Prevent first plot from getting blown away.
plot(of_traffic, block_Pb,'b-'); % Make blue lines.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!