bug in contour? [message #27288] |
Wed, 17 October 2001 03:45 |
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
|
|
|