From: Anabel on
Hi!

I'm plotting 3D radiation patterns and at the moment I'm being somehow successful.

Now I'm struggling with the axis. I'd like to plot the axis as single lines with origin in x=0, y=0, z=0 instead that starting in the botton left point. To show the direction of x, y, z as any antenna simulator does

I tried using axis ([0 2 0 2 0 2]) as an example but that crops my figure.

Any ideas? I've searched the "help" but it didn't "help" me.

Thanks.
From: Matt J on
"Anabel " <anabel.perezdiaz(a)tut.fi> wrote in message <i2hhrd$f1h$1(a)fred.mathworks.com>...

> Now I'm struggling with the axis. I'd like to plot the axis as single lines with origin in x=0, y=0, z=0 instead that starting in the botton left point. To show the direction of x, y, z as any antenna simulator does
>
> I tried using axis ([0 2 0 2 0 2]) as an example but that crops my figure.
=============

If you're trying to put (0,0,0) in the middle of the plot, shouldn't you be setting it to the middle of the axis range: axis ([-2 2 -2 2 -2 2]) ?
From: Anabel on
Nope. At the moment I have the [0 0 0] in the middle of the plot and that's fine.
What I want to do it to plot the 3 axis as lines coming out from that point, from the center of the figure.
Maybe it's difficult to explain with words. Something like this: http://www.supernec.com/manuals/snguiorm_files/image017.jpg


"Matt J " <mattjacREMOVE(a)THISieee.spam> wrote in message <i2hic5$hec$1(a)fred.mathworks.com>...
> "Anabel " <anabel.perezdiaz(a)tut.fi> wrote in message <i2hhrd$f1h$1(a)fred.mathworks.com>...
>
> > Now I'm struggling with the axis. I'd like to plot the axis as single lines with origin in x=0, y=0, z=0 instead that starting in the botton left point. To show the direction of x, y, z as any antenna simulator does
> >
> > I tried using axis ([0 2 0 2 0 2]) as an example but that crops my figure.
> =============
>
> If you're trying to put (0,0,0) in the middle of the plot, shouldn't you be setting it to the middle of the axis range: axis ([-2 2 -2 2 -2 2]) ?
From: us on
"Anabel " <anabel.perezdiaz(a)tut.fi> wrote in message <i2hhrd$f1h$1(a)fred.mathworks.com>...
> Hi!
>
> I'm plotting 3D radiation patterns and at the moment I'm being somehow successful.
>
> Now I'm struggling with the axis. I'd like to plot the axis as single lines with origin in x=0, y=0, z=0 instead that starting in the botton left point. To show the direction of x, y, z as any antenna simulator does
>
> I tried using axis ([0 2 0 2 0 2]) as an example but that crops my figure.
>
> Any ideas? I've searched the "help" but it didn't "help" me.
>
> Thanks.

currently not a built-in functionality...
you'd have to create LINEs/arrows and TEXT objects at the respective positions, which is simple enough, by the way...

us
From: Anabel on
Do you think so? Then I must be idiot hehe.

I can create arrows and text and stuff but I cannot fix them like 3 coordinate-system axis in the centre of the graph, nor that they move along with the graph when I rotate it :/

help?


"us " <us(a)neurol.unizh.ch> wrote in message <i2i3hf$3k2$1(a)fred.mathworks.com>...
> "Anabel " <anabel.perezdiaz(a)tut.fi> wrote in message <i2hhrd$f1h$1(a)fred.mathworks.com>...
> > Hi!
> >
> > I'm plotting 3D radiation patterns and at the moment I'm being somehow successful.
> >
> > Now I'm struggling with the axis. I'd like to plot the axis as single lines with origin in x=0, y=0, z=0 instead that starting in the botton left point. To show the direction of x, y, z as any antenna simulator does
> >
> > I tried using axis ([0 2 0 2 0 2]) as an example but that crops my figure.
> >
> > Any ideas? I've searched the "help" but it didn't "help" me.
> >
> > Thanks.
>
> currently not a built-in functionality...
> you'd have to create LINEs/arrows and TEXT objects at the respective positions, which is simple enough, by the way...
>
> us
 |  Next  |  Last
Pages: 1 2
Prev: pcm
Next: Microsoft Powerpoint 2010 and Matlab