comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Filled area curve
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Filled area curve [message #85855 is a reply to message #85670] Fri, 13 September 2013 21:55 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Monday, August 26, 2013 8:15:40 AM UTC-4, Rob Dimeo wrote:
> Hi,
>
>
>
> A quick search on this NG came up fruitless but I'm hoping that someone has done this type of plot before.
>
>
>
> David has a very nice example of a curve with part of the area under it filled with a solid color: http://www.idlcoyote.com/gallery/filled_area_plot.png
>
>
>
> I would like to extend this so that the area is actually a sequence of colors, the value of which is tied to the independent variable. I intend to plot the magnitude of a complex function, |z(x)|, (as a function of some independent variable, x) as the "curve" and encode the phase angle (again, as a function of x) as a filled (generally multiple-) color area below the curve.
>
>
>
> So the main difference from the plot shown in the link above would be that the solid color that fills the area under the curve would instead be a gradient of colors that transition from one x-value to another, depending on the value of x and the color table used.

I realize that I'm a couple weeks late to the game.

For future reference, consider PLOTCOLORFILL,
http://www.physics.wisc.edu/~craigm/idl/graphics.html#PLOTCO LORFILL
which appears to do exactly what you want!

Craig
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: generating sequences
Next Topic: Question about CURVEFIT function

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 02:51:57 PDT 2025

Total time taken to generate the page: 0.00618 seconds