Find where the vertical line intersects the y values

7 vues (au cours des 30 derniers jours)
Dushyant Dhundara
Dushyant Dhundara le 25 Avr 2016
Commenté : Star Strider le 25 Avr 2016
I have attached the plot I generated for a data set. I would like to find the points where the vertical lines intersect the y-values. Further, is there a way to just plot a point (or a marker) instead of the vertical lines? I am just plotting a time stamp using the vertical line.

Réponses (1)

Star Strider
Star Strider le 25 Avr 2016
You obviously have the x values, so I would use the interp1 function to find the y values in your data.
  4 commentaires
Dushyant Dhundara
Dushyant Dhundara le 25 Avr 2016
Modifié(e) : Dushyant Dhundara le 25 Avr 2016
Thank you so much, it is what I was intending to do. I used linear before but the remaining parameter did the trick.
Star Strider
Star Strider le 25 Avr 2016
My pleasure.
If my Answer solved your problem, please Accept it!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Scatter 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!

Translated by