[Thread Prev][Thread Next][Index]

Re: plot/overlay ignores let/title



Hi Hein,
	The best way to get the exact title/units, as defined by the
variable, to appear may be to use /nolab to suppress the default
labelling then define and draw a symbol generated from the variable

For example try

	let /title="A variable" /units="K/month" a=i
	let /title="B variable" /units="K/month" b=10-i
	let /title="C variable" /units="K/month" c=9-0.5*i
	region/i=1:10
	plot/nolab a
	def sym myTitle = `a,return=TITLE` (`a,return=UNITS`) !make title
	label/nouser 0.1 5.8 -1 0 0.1 ($myTitle)              !draw title
	plot/nolab/o b
	def sym myTitle = `b,return=TITLE` (`b,return=UNITS`)
	label/nouser 0.1 5.6 -1 0 0.1 ($myTitle)
        plot/nolab/o c
        def sym myTitle = `c,return=TITLE` (`c,return=UNITS`)
        label/nouser 0.1 5.4 -1 0 0.1 ($myTitle)

With a bit of effort perhaps you could use "ppl ALINE", the
above idea, and a "line counter" variable to combine the labels
and sample lines in a suitable "plot key" area and make a
script to automate the process.

Good luck,
Mick

|Please note NEW E-Mail Address|
|!!! Mick.Spillane@noaa.gov !!!|
|__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