Thread Subject: new coordinate system - 2D and 3D plots

Subject: new coordinate system - 2D and 3D plots

From: Miguel

Date: 25 Aug, 2009 10:24:03

Message: 1 of 4

Dear MATLAB users and experts,

Can anyone please tell me the way (or where i may find any related m-file) to plot anything ( 2D or 3D) in a coordinate system created by me ? For instance, a 3D plot with Y horizontal and orthogonal to Z, and X (out of plane axis) making alpha degrees with Y.

Thank you very much,
I?d really appreciate your help for my PhD work.

Best Regards,

Miguel Abambres

Subject: new coordinate system - 2D and 3D plots

From: pietro

Date: 25 Aug, 2009 12:05:20

Message: 2 of 4

"Miguel " <abambres@civil.ist.utl.pt> wrote in message <h70e43$dch$1@fred.mathworks.com>...
> Dear MATLAB users and experts,
>
> Can anyone please tell me the way (or where i may find any related m-file) to plot anything ( 2D or 3D) in a coordinate system created by me ? For instance, a 3D plot with Y horizontal and orthogonal to Z, and X (out of plane axis) making alpha degrees with Y.
>
> Thank you very much,
> I?d really appreciate your help for my PhD work.
>
> Best Regards,
>
> Miguel Abambres

Hi,

you can use the function axes

http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/ref/axes.html&http://www.google.it/search?q=matlab+plot+create+new+axis&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:it:official&client=firefox-a

Subject: new coordinate system - 2D and 3D plots

From: Miguel

Date: 25 Aug, 2009 12:57:02

Message: 3 of 4

"pietro " <bracardi82@email.it> wrote in message <h70k20$l09$1@fred.mathworks.com>...
> "Miguel " <abambres@civil.ist.utl.pt> wrote in message <h70e43$dch$1@fred.mathworks.com>...
> > Dear MATLAB users and experts,
> >
> > Can anyone please tell me the way (or where i may find any related m-file) to plot anything ( 2D or 3D) in a coordinate system created by me ? For instance, a 3D plot with Y horizontal and orthogonal to Z, and X (out of plane axis) making alpha degrees with Y.
> >
> > Thank you very much,
> > I?d really appreciate your help for my PhD work.
> >
> > Best Regards,
> >
> > Miguel Abambres
>
> Hi,
>
> you can use the function axes
>
> http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/ref/axes.html&http://www.google.it/search?q=matlab+plot+create+new+axis&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:it:official&client=firefox-a


Hi Pietro,

Thanks for your reply! Unfortunately i didn?t manage to know how should that function be used in order to create a coordinates system that is not orthogonal. Could you please give me an example of a 2D coordinates system with the vertical axis making an angle of 60? with the horizontal axis? Thanks a lot!:)

Miguel

Subject: new coordinate system - 2D and 3D plots

From: pietro

Date: 25 Aug, 2009 23:07:00

Message: 4 of 4

"Miguel " <abambres@civil.ist.utl.pt> wrote in message <h70n2u$bt7$1@fred.mathworks.com>...
> "pietro " <bracardi82@email.it> wrote in message <h70k20$l09$1@fred.mathworks.com>...
> > "Miguel " <abambres@civil.ist.utl.pt> wrote in message <h70e43$dch$1@fred.mathworks.com>...
> > > Dear MATLAB users and experts,
> > >
> > > Can anyone please tell me the way (or where i may find any related m-file) to plot anything ( 2D or 3D) in a coordinate system created by me ? For instance, a 3D plot with Y horizontal and orthogonal to Z, and X (out of plane axis) making alpha degrees with Y.
> > >
> > > Thank you very much,
> > > I?d really appreciate your help for my PhD work.
> > >
> > > Best Regards,
> > >
> > > Miguel Abambres
> >
> > Hi,
> >
> > you can use the function axes
> >
> > http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/ref/axes.html&http://www.google.it/search?q=matlab+plot+create+new+axis&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:it:official&client=firefox-a
>
>
> Hi Pietro,
>
> Thanks for your reply! Unfortunately i didn?t manage to know how should that function be used in order to create a coordinates system that is not orthogonal. Could you please give me an example of a 2D coordinates system with the vertical axis making an angle of 60? with the horizontal axis? Thanks a lot!:)
>
> Miguel

Hi Miguel,

look this: http://www.mathworks.nl/matlabcentral/newsreader/view_thread/241225

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
2d Miguel 25 Aug, 2009 06:24:06
3d plots Miguel 25 Aug, 2009 06:24:06
userdefined coo... Miguel 25 Aug, 2009 06:24:06
rssFeed for this Thread

Contact us at files@mathworks.com