I'd like to apply axis equal command only to x- and y-axis. I'm doing plot3s where the z-axis is significantly 'higher' than the x- and y-axis, but I'd like the ratio of the former to be equal.
Is there a way to apply the axis equal to only x- and y-axis?
Thanks in advance.
Or is it just that I didn't articulate my problem clearly...
I mean I'd like the x- and y-axis to equal in the sense that the interval between the axis ticks would be the same. However I do not want the Z-axis to scale at the same tick interval as it is in a completely different dimension than the x- and y-axis. I could of course scale the z-axis before plotting but that would compromise the readability of the plot.
"HK " <zalaz...@yahoo.com> wrote in message
news:ijvn39$124$1...@fred.mathworks.com...
> Is this one those stupid questions that everyone should be able to solve?
It's a question that you asked during a United States federal holiday, so
many of the regular readers were probably off work for the day.
http://en.wikipedia.org/wiki/Washington%27s_Birthday
> Or is it just that I didn't articulate my problem clearly...
> I mean I'd like the x- and y-axis to equal in the sense that the interval
> between the axis ticks would be the same. However I do not want the Z-axis
> to scale at the same tick interval as it is in a completely different
> dimension than the x- and y-axis. I could of course scale the z-axis
> before plotting but that would compromise the readability of the plot.
Adjust the DataAspectRatio and PlotBoxAspectRatio properties of the axes.
http://www.mathworks.com/help/techdoc/ref/axes_props.html#DataAspectRatio
http://www.mathworks.com/help/techdoc/ref/axes_props.html#PlotBoxAspectRatio
--
Steve Lord
sl...@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com