[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to do polar plots with logarithmic axis in radial coordinate?




Could you simply take the ALOG10() logarithm of the data before
plotting it?  Easier to re-label the axis than re-invent the world...

Good luck,
Craig


Charlie Zender <zender@uci.edu> writes:

> Hi,
> 
> I am wondering if anyone has tried to plot higly peaked polar
> coordinate data. I am referring to data that are a function of
> angle (-pi to pi) where the data are very sharply peaked in
> some direction, so much so that the radial coordinate must
> be logarithmic in order to display the data. The so-called
> scattering phase function of small particles is the exact
> application where I have run into this problem. Using /polar
> on a regular call to plot, as recommended by the user's guide
> and by Fanning's hints page, only seems to work well when the
> x-axis is not set to be logarithmic. Very weird things begin
> to happen when setting the xlog=1 or ylog=1 keywords when /polar
> is set.
> 
> The data span five decades from 1.0e-5 to 1.0.
> If anyone can tell me how to make this look in polar coordinates
> I'd be very grateful. Ideally the solution will a polar coordinate
> plot where the radial coordinate is logarithmic, and thus has
> a "hole" around the origin (so the minimum plotted coordinate could
> be, e.g., 10^-6). But I'm open to anything that looks good.
> 
> Thanks,
> Charlie
> -- 
> Charlie Zender zender@uci.edu (949) 824-2987/FAX-3256, Department of
> Earth System Science, University of California, Irvine CA 92697-3100
> 

-- 
--------------------------------------------------------------------------
Craig B. Markwardt, Ph.D.         EMAIL:    craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
--------------------------------------------------------------------------