Tags: axis, control, create, horizontaland, iam, matlab, plot, plotting, programming, rotation
3D plot axis rotation
On Programmer » Matlab
1,543 words with 1 Comments; publish: Thu, 08 May 2008 00:06:00 GMT; (20062.99, « »)
Hi,
I am new to 3D plotting and have a question about the axis control. I
am trying to create a plot which shows the x axis exactly horizontal
and the y axis vertical at the front, and the z axis leading into the
back of the screen. I have tried view([103 10]) which gives me an
effect close to what I want, but unfrotunatelly it also rotates the x
and yaxis.
This is the orientation I am trying to get.


 /
 /
 /
/________
Hope you can help me
Thanks
Christoph
http://matlab.todaysummary.com/q_matlab_1282.html
All Comments
Leave a comment...
 1 Comments
 Hi Christoph,
Setting the axes "Projection" property to "Perspective" might yield the
effect you are looking for:
set(gca,'Projection','Perspective')
I hope this helps.
Dan
Dan Sternberg
The MathWorks, Inc.
"Christoph" <chschwingi.matlab.todaysummary.com.yahoo.com> wrote in message
news:ef3e62d.1.matlab.todaysummary.com.webcrossing.raydaftYaTP...
> Hi,
> I am new to 3D plotting and have a question about the axis control. I
> am trying to create a plot which shows the x axis exactly horizontal
> and the y axis vertical at the front, and the z axis leading into the
> back of the screen. I have tried view([103 10]) which gives me an
> effect close to what I want, but unfrotunatelly it also rotates the x
> and yaxis.
> This is the orientation I am trying to get.
> 
> 
>  /
>  /
>  /
> /________
> Hope you can help me
> Thanks
> Christoph
#1; Thu, 08 May 2008 00:07:00 GMT
 Hi Christoph,