Dear All,
I am having a small trouble in making contour over-
plotting . Here I am reading two different data set with different
values. I want to make a contour plot of the first data set and then
want to over plot the contour of the second data set with different
colors.
My question is that is it possible in IDL to overplot a contour plot
on another contour plot with different colors. if yes then how. And
if No then how I can overplot a contour plot on another contour plot
with the same colors.
Thanks in advance
readcol, 'A.txt',skipline=3,x,y,z,f='f,f,f'
readcol, 'B.txt',skipline=3,x1,y1,z1,f='f,f,f'
DEVICE,DECOMPOSED =0
window,xs=600,ys=700
loadct,27
tvlct,0,0,0,255
!p.charsize=1.5
!p.multi=[0,1,2]
;=========================================================== ========================
contour,x<0.005,y,z,/irregular,c_label=[1,1,1,1,1],nlevels=572,/xst,/
yst,/fill,Position=[0.1, 0.1, 0.9, 0.80]
contour,x<0.005,y,z,/
irregular,c_label=[1,1,1,1,1],level=[0.0009,0.0012,0.0017],$
c_charsize=1.0,c_color=[0,0,255,255],/over
;=========================================================== ========================
contour,x1<0.005,y1,z1,/irregular,c_label=[1,1,1,1],nlevels=100,/xst,/
yst,/fill
contour,x1<0.005,y1,z1,/
irregular,c_label=[1,1,1,1],level=[0.0012,0.0015,0.0018],$
c_charsize=1.0,c_color=[0,0,255,255],/over
colorbar, BOTTOM=4,DIVISIONS=5,FORMAT='(f6.4)', POSITION=[0.18, 0.9,
0.9, 0.95], $
MAX=0.005, MIN=MIN(chi2)
;=========================================================== ==================
end
|