[Thread Prev][Thread Next][Index]
[ferret_users] units of $ppl$xlen and friends
Hi Ferreters,
I'm wondering how $ppl$xlen and friends are defined.
The manual says that they are in inches, but they seem
to change their values in viewports . . . in a mysterious
way, to me. As the example below shows, for a viewport of
(0,1)x(0,1), $ppl$xlen is 9.478 with win/aspect=1. But,
for (0,0.5)x(0,0.5), it's 6.127, and for (0.5,1)x(0.5,1),
it's 6.081 .
I'm plotting, say, four panels using four views, and in
the last plot command I'm producing a color bar, using the
values of $ppl$xlen and friends. But, I don't know
how to control its exact location and size because of the
problem above.
I'm using FERRET v6.07/Linux(g77).
Regards,
Ryo
!!>>>> EXAMPLE >>>>>>>>>>>>>>>>>>>>>>>>>>
set mode grat:dash
set data levitus_climatology
set window/aspect=1.0
define view/axes/xlimits = 0.0, 1.0 \
/ylimits = 0.0, 1.0 myfull
define view/axes/xlimits = 0.0, 0.5 \
/ylimits = 0.0, 0.5 myll
define view/axes/xlimits = 0.5, 1.0 \
/ylimits = 0.5, 1.0 myur
set view myfull
fill/k=1/l=1/set temp
say ($ppl$xlen) ($ppl$ylen) !prints "9.474 9.474"
ppl fill
set view myll
fill/k=1/l=1/set temp
say ($ppl$xlen) ($ppl$ylen) !prints "6.127 6.127"
ppl fill
set view myur
fill/k=1/l=1/set temp
say ($ppl$xlen) ($ppl$ylen) !prints "6.081 6.081"
ppl fill
!!<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Privacy Policy | Disclaimer | Accessibility Statement