MATLAB Answers

Labeling and setting of Bar3 chart

3 views (last 30 days)
mag = 4.75:0.5:6.75; dist = 5:10:195; bar3(dist,prob);
</matlabcentral/answers/uploaded_files/46943/matlabq.JPG> as i am plottting magnitude 4.75 to 6.75 but its showing range from 1 to 6.75?? how i can fix it


Sign in to comment.

Accepted Answer

Vaibhav Awale
Vaibhav Awale on 11 Mar 2016
You can use XLim, YLim and ZLim properties of axes to address this issue. Refer to following documentation for more axes properties:


Sign in to comment.

More Answers (0)



Community Treasure Hunt

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

Start Hunting!

Translated by