[Thread Prev][Thread Next][Index]

Re: Text Size in Viewports



Hi Graham,

When you define a viewport you can specify the "/TEXT_PROMINENCE" size. The
default size (if you do not specify it, yourself)  is the geometric mean of
the x and y fractional sizes:
    /text = ((xhi-xlo)*(yhi-ylo))^0.5    ! default calculation

Basic documentation on DEFINE VIEWPORT is at
http://ferret.wrc.noaa.gov/Ferret/Documentation/Users_Guide/v50/partII.html#_1_250

I hope this helps - steve

======================================================

Graham Gladman wrote:

> Ferreteers,
>
> Is there any way to access the 'text' size associated with a viewport so
> that it can be assigned to a local variable.
>
> I.e. something like
>
> let vptextsize = ($vp$text)
>
> At present I can find out what the text size is using (sh view) but can't
> assign it. Help appreciated in advance,
>
> Graham Gladman

--
Steve Hankin
NOAA/PMEL, 7600 Sand Point Way NE, Seattle, WA 98115-0070
ph. (206) 526-6080 -- FAX (206) 526-6744




[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement