3D bar chart in MATLAB

2 vues (au cours des 30 derniers jours)
Hugo
Hugo le 19 Oct 2022
Hi,
I would like to build a 3D bar chart in MATLAB. How can I do it?
Best regards,
Hugo

Réponses (1)

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

Connectez-vous pour commenter.

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by