3D bar chart in MATLAB

2 次查看(过去 30 天)
Hugo
Hugo 2022-10-19
Hi,
I would like to build a 3D bar chart in MATLAB. How can I do it?
Best regards,
Hugo

回答(1 个)

Karen Yadira Lliguin León
with 'bar3' check for more information here >>> ( https://es.mathworks.com/help/matlab/ref/bar3.html )
  2 个评论
Hugo
Hugo 2022-10-19
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Bar Plots 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by