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

Home » Public Forums » archive » plotting two sets of contours
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
plotting two sets of contours [message #25963] Fri, 27 July 2001 02:55
ahw199 is currently offline  ahw199
Messages: 6
Registered: July 2001
Junior Member
I am trying to plot two different sets of contours over one image. The
contour sets are both centered around different points, So I need to
position them separately. I can overplot one set at the right point
but when it comes to the second set the position keyword doesnt seem
to work and the second set are overplotted over the first set.
Do I need to combine all the data into one file, i.e. work out the two
plots in relation to each other or can I use some other keyword to
position the second set?
A sample of my programme follows:
WINDOW, XSIZE=830, YSIZE=800
ERASE,255
READ_JPEG,'S:\Ann webber\drawing3white.jpg',a,image
TV, a,140,205
TEK_COLOR
OPENR,1,'my filename'
A=FLTARR(9,145000)
READF,1,A
close,1
CONTOUR,A(7,*),A(0,*),A(1,*),/irregular,levels=[6,8,10,15,18 ,20,25,30,40,50,60,70,80,90,100,150,200],color=2,C_LABELS=[1 ,1,1,1,1,1,1,1,1,0,1,0,1,0,1,0,1]
$
,position=[515,495,645,625],/device,/noerase,/overplot
OPENR,2,'my filename'
B=FLTARR(9,40401)
READF,2,B
close, 2
;CONTOUR,(B(7,*)/1.414),B(1,*),B(0,*),/irregular,levels=[10, 15,20,25,30,40,50,60,70,80,90,100,150,200],color=4,C_LABELS= [1,1,1,1,1,1,1,1,1,0,1,0,1,0,1,0,1]
$
;,position=[400,420,515,535],/overplot
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: base widgets growing uncontrollably.... ?
Next Topic: cursor_image

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

Current Time: Fri Oct 10 07:24:15 PDT 2025

Total time taken to generate the page: 0.40165 seconds