bug in contour [message #36082] |
Tue, 19 August 2003 06:08 |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
Dear all,
we found a special bug in contour.
We can't explain where the 1.3 at the yaxis comes from.
This happens only by /fill not by fill=0 and not by /cell_fill.
The value is alog10 of yrange[0]. If you change the yrange starting at 40
then it is 1.6
I have informed CREASO too.
regards
Reimar
pro test_contour
erase
x=findgen(100)
y=findgen(100)/99.*70+20
z=findgen(100,100)
init_plot2d={max_value:9999.10,$
min_value:-1.00000e-06,$
xrange:[0,99.0],$
yrange:[20,90.0],$
zrange:[-1.0000000e-06,9999.10],$
position:[0.202020, 0.238095, 0.727273, $
0.754762, 0.00000, 0.00000],$
title:'',$
xtitle:'!B'+'test',$
ytitle:'test'+'!B',$
ztitle:'',$
xstyle:1,$
ystyle:1,$
zstyle:1,$
xlog:0,$
ylog:1,$
zaxis:0,$
downhill:0,$
closed:0,$
xtickname:strarr(60)+' ',$
ytickname:strarr(60)+' '}
CONTOUR,z,x,y, _extra=init_plot2d, nodata=1 , noerase=1, overplot=0
CONTOUR,z,x,y, _extra=init_plot2d, nlevels=29, /fill, noerase=1, overplot=0
end
--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
|
|
|