Plot the values between the range
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Gopalakrishnan venkatesan
am 25 Nov. 2015
Kommentiert: Mike Garrity
am 30 Nov. 2015
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152154/image.jpeg)
I need to plot the values between the range using the bar plot ?
for example
Bar A 10-15
Bar B 25-30
Bar C 45-50
How can i do this ?
Thanks a lot
0 Kommentare
Akzeptierte Antwort
Thorsten
am 25 Nov. 2015
h = bar([10 25 45; 5 5 5]', 'stacked');
set(h(1), 'FaceColor', 'w', 'EdgeColor', 'w')
2 Kommentare
Mike Garrity
am 30 Nov. 2015
Instead of setting FaceColor and EdgeColor to white, try setting Visible to off.
set(h(1), 'Visible','off')
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Discrete Data Plots 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!