How can I broaden an axis?
26 views (last 30 days)
Show older comments
Hello people, I am stuck with a problem: I have a 3D plot and my x-axis is much longer than my y-axis. The result is, that the figure is very long and narrow, so I can't really see anything. So I would like to lengthen this axis (without changing it's limits). Does anyone know a solution for that? I could not find anything and also didn't know how to best circumscribe it.
Thanks a lot! Leo
PS: Should you not understand what I mean then ask and I post a picture of my figure.
Accepted Answer
David Sanchez
on 18 Dec 2013
From documentation:
Setting the data aspect ratio to [1 1 1] produces a surface plot with equal scaling along each axis.
daspect([1 1 1])
change the values to achieve the desired aspect, for example, to widen (x2) y-axis:
daspect([1 2 1])
You can try as well with
axis normal
More Answers (1)
See Also
Categories
Find more on Discrete Data Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!