Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Change axis limits in polar plots

675 views
Skip to first unread message

Judy

unread,
Jan 19, 2010, 8:31:04 PM1/19/10
to
Hey everybody,

Is it possible to specify the limits of the pho on the polar plot? The function polar() automatically defaults to [0 whatever]. My rho values go from i.e. 10 to 20 and it would be nice for it to show the limits of rho from 10 to 20 instead of 0 to 20 to show the variation better.

Thanks in advance!! Much appreciated!

TideMan

unread,
Jan 19, 2010, 9:14:11 PM1/19/10
to

Think about it.
rho is the distance from the centre and the lines radiate from the
centre.
How could what you're suggesting possibly work?

Take a piece of paper and try sketching it.
You'll soon see it's a hare-brained idea.

Judy

unread,
Jan 20, 2010, 12:45:21 PM1/20/10
to
TideMan <mul...@gmail.com> wrote in message <5912cb2f-ae14-44f0...@30g2000yqu.googlegroups.com>...

Take for example this figure:
http://www.wavecapture.com/images/AudioCap/polarplot2.jpg

The rho values are going from 135-185dB. I don't understand why you think it's a bad idea.. maybe I am missing something? I just want to figure out how to plot something like this without matlab always having to automatically adjust the rho limits from 0-185dB.

I noticed that matlab also does not like negative rho values.. Impossible to plot negative dB values?

Thanks. :)

Walter Roberson

unread,
Jan 20, 2010, 5:21:46 PM1/20/10
to
Judy wrote:

> Is it possible to specify the limits of the pho on the polar plot? The
> function polar() automatically defaults to [0 whatever]. My rho values
> go from i.e. 10 to 20 and it would be nice for it to show the limits of
> rho from 10 to 20 instead of 0 to 20 to show the variation better.

No, but you can cheat. See my response in

http://groups.google.ca/group/comp.soft-sys.matlab/browse_thread/thread/8e8568fbc2e25af/b183026799930c33

See also the recommendation there from someone to use mmpolar() from the file
exchange.

Nathan

unread,
Jan 20, 2010, 7:11:51 PM1/20/10
to
On Jan 20, 2:21 pm, Walter Roberson <rober...@hushmail.com> wrote:
> Judy wrote:
> > Is it possible to specify the limits of the pho on the polar plot?  The
> > function polar() automatically defaults to [0 whatever].  My rho values
> > go from i.e. 10 to 20 and it would be nice for it to show the limits of
> > rho from 10 to 20 instead of 0 to 20 to show the variation better.
>
> No, but you can cheat. See my response in
>
> http://groups.google.ca/group/comp.soft-sys.matlab/browse_thread/thre...

>
> See also the recommendation there from someone to use mmpolar() from the file
> exchange.

Note: mmpolar is NOT on the FEX. It appears to have been removed about
two years ago by Duane Hanselman
http://www.mathworks.com/matlabcentral/newsreader/view_thread/165930

Here is a link to the code, however:
http://www.eece.maine.edu/mm/MM5/mm5/mmpolar.m

-Nathan

0 new messages