How do you mark points on a histogram?
16 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Cameron
am 17 Okt. 2016
Kommentiert: Cameron
am 17 Okt. 2016
Is there a way to mark a specific value on a plot generated with "histogram(...)"? I find a few specific values in my code and would like to highlight or mark them on a histogram. Is there a way to do this?
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 17 Okt. 2016
You could draw a line through the bar,
line([binValue, binValue], [0, countsValue], 'Color', 'r', 'LineWidth', 2);
Or you could place a mark on top of it
plot(binValue, countsValue, 'r*', 'LineWidth', 2, 'MarkerSize', 15);
or other things. What would you like to do with it?
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Histograms finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!