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 #27288] Wed, 17 October 2001 03:45
Jacques is currently offline  Jacques
Messages: 5
Registered: September 1994
Junior Member
Hi all

Has anyone else run into a problem with the zlog keyword in contour? Or
can someone tell me where I am going wrong? It seems that if the keyword
is set, then any further contour plots are plotted using a log scale
irrespective of what value is sent to zlog. A way around it is to set
!z.type to 0 after each call to contour, but that shouldn't be the way
to do it.

There is some simple code below to illustrate the point.

Thanks
Jacques

IDL Version 5.4 (linux x86). (c) 2000, Research Systems, Inc.

IDL> contour, dist(50)
IDL> contour, dist(50), /zlog
% CONTOUR: Warning: Infinite plot range.
IDL> contour, dist(50)
% CONTOUR: Warning: Infinite plot range.
IDL> contour, dist(50), zlog=0
% CONTOUR: Warning: Infinite plot range.
IDL> !z.type=0
IDL> contour, dist(50)
IDL> contour, dist(50), zlog=0
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: fit function
Next Topic: Re: IDL Help Gone Missing

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

Current Time: Wed Oct 08 14:00:26 PDT 2025

Total time taken to generate the page: 0.00547 seconds