[Thread Prev][Thread Next][Index]
Re: [ferret_users] how to get rid of the empty space between multipleplots
Wendy showed that you can overlap viewports to make them closer. That
works, but it is hard to guess what the result will be without trial
and error. The best way to control viewports is with the /axes
qualifier. Then the xlim/ylim values are the fraction of the x/y
distance on the page exactly.
def vi/axes/xlim=.1,.9/ylim=.1,.45 bottom
def vi/axes/xlim=.1,.9/ylim=.55,.9 top
This will leave exactly 1/10 of the page empty below, between, and
above the plot panels, each of which is 0.35 of the vertical distance
of the entire plot area. It is no longer dependent on how much blank
space Ferret would choose to leave around the plot. This also allows
you to make viewports touch each other, or anything else.
Billy K
On 20Apr 2006, at 1:45 AM, zhen.li@gsfc.nasa.gov wrote:
Dear Ferret Users:
When I make 4 plots on the screen, I found that there are plenty of
empty space between
these plots. I wonder if there are any ways to eliminate these
spaces. Also, I'd like to
take the advantage of the "landscape mode", but it occurs to me
that there aren't separate modes
for portrait or landscape.
Here's how I define the viewport:
"def view/xlim=0.0,0.5/ylim=0.5,1.0 v1, set vi v1"
"def view/xlim=0.5,1.0/ylim=0.5,1.0 v1, set vi v2"
"def view/xlim=0.0,0.5/ylim=0.0,0.5 v1, set vi v3"
"def view/xlim=0.5,1.0/ylim=0.0,0.5 v1, set vi v4"
Thanks for your help!
Zhen
--
This message has been scanned for viruses and dangerous
content by GMAO's MailScanner, and is believed to be clean.
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement