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

Home » Public Forums » archive » Image w/contours in PostScript?
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
Image w/contours in PostScript? [message #1441] Mon, 08 November 1993 15:08
ftacn is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: math symbols for PS.
Next Topic: HELP: Memory allocation problem

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

Current Time: Fri Oct 10 12:50:16 PDT 2025

Total time taken to generate the page: 1.76053 seconds