How can I show values on top of bars in plotyy

1 view (last 30 days)
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?

Accepted Answer

madhan ravi
madhan ravi on 28 Dec 2018

More Answers (0)

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!