NOAA-PMEL / PyFerret

The PyFerret program and Python module from NOAA/PMEL
https://ferret.pmel.noaa.gov/Ferret/
The Unlicense
60 stars 22 forks source link

Define new viewports #41

Open PBrockmann opened 7 years ago

PBrockmann commented 7 years ago

I propose a very basic enhancement by defining by default new viewports to separate a window in thirds. It could simplified all scripts that need 3 plots by window.

def viewport/x=0.00:0.33/y=0:1 THL      ! Third Horizontal Left
def viewport/x=0.33:0.66/y=0:1 THM      ! Third Horizontal Middle
def viewport/x=0.66:1.00/y=0:1 THR      ! Third Horizontal Right
def viewport/x=0:1/y=0.00:0.33 TVU      ! Third Vertical Up
def viewport/x=0:1/y=0.33:0.66 TVM      ! Third Vertical Middle
def viewport/x=0:1/y=0.66:1.00 TVB      ! Third Vertical Bottom