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

Home » Public Forums » archive » 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
GDL contour fill [message #52926] Mon, 05 March 2007 14:13
anonymous.myspamfilte is currently offline  anonymous.myspamfilte
Messages: 2
Registered: March 2007
Junior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: field plot
Next Topic: Re: GDL contour fill

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

Current Time: Fri Oct 10 03:42:51 PDT 2025

Total time taken to generate the page: 0.56385 seconds