3D bar chart in MATLAB

1 view (last 30 days)
Hugo
Hugo on 19 Oct 2022
Hi,
I would like to build a 3D bar chart in MATLAB. How can I do it?
Best regards,
Hugo

Answers (1)

Karen Yadira Lliguin León
with 'bar3' check for more information here >>> ( https://es.mathworks.com/help/matlab/ref/bar3.html )
  2 Comments
Hugo
Hugo on 19 Oct 2022
Hi,
Thank you for your reply. However, bar3() only seems tp work with numeric labels (on axis). Do you know if I can add string labels to the axis, or do you know any other function that allows me to do such thing?
Best regards,
Karen Yadira Lliguin León
something like this?
This is the code, but to put labels on the axis, tou can also once the Figure window shows you can change de labels by: Edit> axes Properties, then a litle window will appear,in the 'ticks' section you canchange the label

Sign in to comment.

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!