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

Home » Public Forums » archive » bug in contour
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
bug in contour [message #11280] Mon, 30 March 1998 00:00
R. Bauer is currently offline  R. Bauer
Messages: 137
Registered: November 1996
Senior Member
Hi,

we found again a bug in contour.

The bug appears sometimes with using the irregular key by contour and
use of map_set.
If you are interested I can mail the dataset test.dat.

IDL Version:

** Structure !VERSION, 5 tags, length=40:
ARCH STRING 'ibmr2'
OS STRING 'AIX'
OS_FAMILY STRING 'unix'
RELEASE STRING '5.0.3'
BUILD_DATE STRING 'Nov 3 1997'

Unfortunately it works with simple datasets.

pro contour_error


restore,'test.dat'

x=b_2c(*,0)
y=b_2c(*,1)
z=b_2c(*,2)


triangulate,x,y,tri

MAP_SET, /MOLLWEIDE, 0, 0, /ISOTROPIC, $
/HORIZON, /GRID, /CONTINENTS, $
TITLE='Mollweide Contour'

contour,z,x,y,/irregular ,/overplot,/fill ; won't work
; should be the same but it isn't upper statements won't work
; % CONTOUR: Points are co-linear, no solution.
; % Execution halted at: CONTOUR_ERROR 17 contour_error.pro
; % $MAIN$
contour,z,x,y,tri=tri ,/overplot,/fill ; works

END

--
R.Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Two new tools
Next Topic: Memory deallocate problem

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

Current Time: Wed Oct 08 13:45:57 PDT 2025

Total time taken to generate the page: 0.00561 seconds