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
Karen Yadira Lliguin León 2022년 10월 19일

0 개 추천

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
Karen Yadira Lliguin León 2022년 10월 20일
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

댓글을 달려면 로그인하십시오.

카테고리

제품

릴리스

R2020a

질문:

2022년 10월 19일

댓글:

2022년 10월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by