Ignore:
Timestamp:
Nov 8, 2011, 2:38:15 PM (13 years ago)
Author:
acolaitis
Message:

PYTHON.
Added resolution and output filename choices.

--res X to choose X instead of 200 for png outputs
-O or --output to choose filename of the output

Added possibility to do operations between 2 files.
The plot consists of:

  • a main plot, given by the regular options corresponding to the choice of -var and -f.
  • a reference plot, given by the option --fref, in a similar way as the first plot (same var, same min/max, etc...)
  • a plot on which the operation between file 1 and ref file is done.

--operation to choose the operation. For now, there is + and -. It is really simple to add more.
--mope --Mope to choose min and maximum of the colorbar for the operation. Without specifying it, it is computed.
--titleref to change the title of the reference plot. To use in combination with --title for the title of the first plot.

Future work:

  • Add possibility to compare multiple files to the same reference file.
  • Add mesoscale support. (adding the options in meso.py is straightforward but some modif might have to be done in planetoplot.)


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/myplot.py

    r350 r359  
    138138        rcParams['font.size'] = int( rcParams['font.size'] * 3. / 4. )
    139139    elif numplot == 3:
    140         subv = 3
    141         subh = 1
     140        subv = 2
     141        subh = 2
    142142        fig.subplots_adjust(wspace = 0.5)
    143143        rcParams['font.size'] = int( rcParams['font.size'] * 1. / 2. )
Note: See TracChangeset for help on using the changeset viewer.