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

*Subject*: Re: How to do polar plots with logarithmic axis in radial coordinate?*From*: Craig Markwardt <craigmnet(at)cow.physics.wisc.edu>*Date*: 06 Feb 2001 15:48:20 -0600*Newsgroups*: comp.lang.idl-pvwave*Organization*: U. Wisc. Madison Physics -- Compact Objects*References*: <3A802C71.1070002@uci.edu>*Reply-To*: craigmnet(at)cow.physics.wisc.edu*Xref*: news.doit.wisc.edu comp.lang.idl-pvwave:23401

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 --------------------------------------------------------------------------

**Follow-Ups**:**Re: How to do polar plots with logarithmic axis in radial coordinate?***From:*Charlie Zender

**References**:**How to do polar plots with logarithmic axis in radial coordinate?***From:*Charlie Zender

- Prev by Date:
**Re: Interpol. irregular grid to irregular grid** - Next by Date:
**Re: multiple filters** - Prev by thread:
**How to do polar plots with logarithmic axis in radial coordinate?** - Next by thread:
**Re: How to do polar plots with logarithmic axis in radial coordinate?** - Index(es):