[Thread Prev][Thread Next][Index]

Re: white vectors and contours



Hi Dongxiao,
	There is a little known "white" pen that will do the trick.
Its number is 19 as in the following demo
	shade/i=1:10/j=1:10 i+j
	let u=(i+j-j)/i ; let v=(i-i+j)/j
	vector/o/i=1:10/j=1:10/set u,v
	ppl pen,1,19 ; ppl vector/over
The slight problem with this and Ansley's better /color=white that
just beat me to the punch, is that the scale vector is white too
and so is invisible.  If there is an area inside the plot that is
suitable you could move the scale vector there with the "ppl veckey"
command (ppl veckey/nouser xpos,ypos,ipos,format), or you could
remove the "set" in the above example to get the scale and other
arrows in black, then plot the vectors again in white and make sure
the scale vector is out of the frame as follows
        shade/i=1:10/j=1:10 i+j
        let u=(i+j-j)/i ; let v=(i-i+j)/j
        vector/o/i=1:10/j=1:10 u,v
	ppl pen,1,19 ; ppl veckey/nouser,100,100 ; ppl vector/over

Pen 19 is also handy for adding a white label as follows:
	ppl %label/nouser 3,3,0,0,0.2,@c019Test Label

Good Luck,
Mick

|--****--****-*---*---***--***--|____spillane@pmel.noaa.gov____|
|-*__---*-----*--*-*--*--*-*--*-|_SCIENCE APPLICATIONS SUPPORT_|
|--***--*-----*-*---*-***--***--|____EPIC/Ferret/PlotPlus______|
|-----*-*-----*-*****-*----*----|__Room 2070 Bldg#3 NOAA/PMEL__|
|-****---****-*-*---*-*----*----|____Phone_:_(206)526-6780_____|



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement