Re: multiple 2d_plots in one system (itools) [message #36417 is a reply to message #36319] |
Wed, 10 September 2003 07:13  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Olaf Stetzer writes:
> I am trying to plot multiple size distributions of an
> aerosol in one plot. What I have tried so far: the plot
> structure of the J�lihc group, but it is limited to
> 25 datasets, in my case there can be 100 datasets.
>
> What I tried next is the new itools procedure iplot,
> but it does not work as i expected it to. First, the
> x axis should be logarithmic (values from 0.038 to 16 �m).
> When i set xrange to [min(xdata),max(xdata)] the axis ranges from
> ~0 to 10e16, so I tried alog10() of the above resulting in
> a LINEAR axis from -1.4 to 1.2 even though I have set /x_log.
> I cannot see a way to get the axis I want.
Yes, it seems like the [XY]_LOG keywords are broken.
In any case, I can't seem to get a log axis on
an iPlot by setting either of these keywords. And
worse, the logarithmic selection on the axis property
sheet is grayed out and unavailable for the axes.
I don't know what to make of that. I guess I would
check with RSI.
> Is there another easy way to get these plots done? I wonder
> if there is a way to get them in a 3D plot as stacked xy plots
> with z as the time of measurement but NOT as surface plots
> (but filled to the x-axis would be OK).
> So far, I haven't seen a way to do this in IDL.
There is no built-in command to do this, I don't think.
But it seems fairly straightforward to me to build your own.
I just threw my 2D array into FSC_SURFACE and selected
parallel X lines from the Style menu and had almost what
you describe. You want your plots in a different plane,
and you want log axis scaling, but having a rotatable
plot is nice. Probably a two hour job if you
start with something like SIMPLE_SURFACE on my web
page. :-)
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|