How to plot a line on the histogram?
Ältere Kommentare anzeigen

Hello,
My name is Yogan and I am studying Monte Carlos Method. I plotted the graphic using "Hist(Name_Variable)"
I am adding above the gráphic that I am talking.
Well, My question is: I need to draw a vertical line in a specific point . I found a lot of answers about draw lines using the Plot, but it dosen't happend with Hist.
Thanks
Akzeptierte Antwort
Weitere Antworten (1)
RBEngineer
am 27 Apr. 2020
From 2018b you can use:
xline(x_position);
Kategorien
Mehr zu Histograms 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!