How to make a thermometer-style graph?
6 views (last 30 days)
Show older comments
ZedRedLed
on 21 Sep 2018
Reopened: Walter Roberson
on 22 Dec 2018
Hi,
I would like to make a graph that basically is one single vertical bar. I would like to input temperature values and then display them as horizontal lines on said bar. Finally, I would like to give different intervalls on the bar custom colors.
How can I do this? I can't seem to find a solution in the documentation
Thanks in advance!
2 Comments
Accepted Answer
KALYAN ACHARJYA
on 21 Sep 2018
Edited: KALYAN ACHARJYA
on 21 Sep 2018
Have you tried
bar(y,'stacked')
2 Comments
More Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!