comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » contour overplotting
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
contour overplotting [message #75471] Mon, 14 March 2011 03:57 Go to previous message
abc is currently offline  abc
Messages: 46
Registered: March 2011
Member
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
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Poisson Noise
Next Topic: Best way to deal with checking array indices are within bounds

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

Current Time: Wed Oct 08 15:22:15 PDT 2025

Total time taken to generate the page: 0.00396 seconds