contours and Z device [message #12225] |
Fri, 03 July 1998 00:00 |
rbianconi
Messages: 3 Registered: July 1998
|
Junior Member |
|
|
Hello, this little program attached works (under NT and Linux) with IDL
4.0.1, but not with IDL 5.0.2. It seems that when you are using the Z device
and you ask the routine to plot a contour above the maximum value of your
data, then an error occours in version 5.0.2. Instead, it works fine with
vesion 4.0.1. Any comment ?
Obviously I don't expect to see any contour from that! *smile*
Ciao,
Roberto
_________________
pro procont
nx=10
ny=10
zzm=dblarr(nx,ny)
xx=indgen(nx) & yy=indgen(ny)
zzm(*,*)=0.d0
zzm(5,5)= 1.d0
set_plot,'win'
contour,zzm,xx,yy,/fill,levels=2
set_plot,'z'
contour,zzm,xx,yy,/fill,levels=2
device, /close
end
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
|
|
|