How can I show values on top of bars in plotyy
1 view (last 30 days)
Show older comments
Birthe van den Berg
on 28 Dec 2018
Answered: madhan ravi
on 28 Dec 2018
Hi!
I have the following data:
f = [3.5 0
3.6 0
3.5 0
3.4 0
3.6 0];
g = [0 100
0 75
0 23
0 38
0 63];
figure
[AX,L1,L2] = plotyy(1:5,f,1:5,g,@bar,@bar);
Which shows me a plot with two different scales for the y-axes. I would like to show the numerical values on top of the bars. Does anyone know how to do this?
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Two y-axis 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!