Image w/contours in PostScript? [message #1441] |
Mon, 08 November 1993 15:08 |
ftacn
Messages: 7 Registered: May 1993
|
Junior Member |
|
|
I'm having trouble printing color PostScript files created in
IDL on our Tektronix Phaser IIsdx printer. The files contain
images upon which I would like to overlay contours. I have been
doing the following to create my PostScript files:
xin = 1.8 ; image x-size in inches
yin = 2.25 ; image y-size in inches
xx = .114286*xin ; calcuclate proper size to keep aspect ratio
yy = .2*yin ; of x/y = 0.8
!p.position=[0.07,.53,.07+xx,.53+yy]
plotscl,imgb1,255,0 ,xaxis1,yaxis1,'' ,'' ,lab1
; image,max,min,xsize ,ysize ,xtitle,ytitle,title
contour,lat1,level=-299,/overplot,ystyle=4,xstyle=4,color=25 5
!p.position=[.42,.53,.42+xx,.53+yy]
oplotscl,imgb2,255,0,xaxis2,yaxis2,'','',lab2
contour,lat2,level=-299,/overplot,ystyle=4,xstyle=4, color=255
The routines plotscl & oplotscl are hacks of the IDL routine
IMAGE_CONT which allows for contouring over images.
Anyone have a better way to do this?
-Andy Nicholas
nicholas@uap.navy.nrl.mil
|
|
|