Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Hello , I have generated a bar graph. I want that each of my 6 bars must show its corresponding value and point on it. How can I do so? I am sending my code.

1 view (last 30 days)
if true
y=[106.59 84.800; 106.59 90.75; 106.59 90.92]
x=categorical({'A1 B1','A2 B2','A3 B3'})
bar(x,y)
xlabel('cases')
ylabel('energy cost (Rs.)')
end

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!