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

Home » Public Forums » archive » Re: GDL contour fill
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: GDL contour fill [message #52924] Mon, 05 March 2007 14:19
anonymous.myspamfilte is currently offline  anonymous.myspamfilte
Messages: 2
Registered: March 2007
Junior Member
On 5 Mar, 22:13, anonymous.myspamfil...@googlemail.com wrote:
> Hi
>
> I have recently installed gdl on Linux and, although I thought the
> installation went OK (including prerequisites), when I try to fill a
> contour plot I get the error:
> "Keyword parameter FILL not allowed in call to: CONTOUR"
> which is a bit of a mystery to me. The simple test routine I'm using
> is contained below. If I run it without the fill keyword it works
> fine producing the isopleths as expected. This is my first try at
> using gdl (I more regularly use pvwave), so there may be other things
> that don't work as I expect.
>
> Can anyone shed any light on the likely cause of my problem?
>
> many thanks
>
> Ben
>
> <--- Sample code --->
>
> PRO test
>
> x=findgen(101)/10.
> y=sin(x)
> nx=n_elements(x)
> ny=n_elements(y)
> z=make_array(nx,ny)
> FOR i=1,nx-1 DO BEGIN
> FOR j=1,ny-1 DO BEGIN
> z(i,j)=exp(-(.1*x(i)^2+y(j)^2))
> ENDFOR
> ENDFOR
>
> levels=5
> contour, z,x,y
>
> END


Sorry, this is the version without the fill keyword. This should have
read
> contour, z,x,y, /fill

Ben
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: GDL contour fill
Next Topic: Optimizing a lookup table

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

Current Time: Thu Oct 09 07:26:16 PDT 2025

Total time taken to generate the page: 0.56208 seconds