Module Import alias identifier Import alias identifier Import alias Import alias Import alias identifier FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Num keyword TupleLoad Num Num keyword Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Str Print NameLoad Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Str handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Str For TupleStore NameStore NameStore NameLoad body If CompareEq NameLoad Str body Expr Call NameLoad If CompareEq NameLoad Str body Assign NameStore NameLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index Num handlers ExceptHandler body Expr Call NameLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index Num handlers ExceptHandler body Expr Call NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad
N/A N/A numpy np N/A matplotlib.pyplot plt N/A sys N/A getopt N/A mesh.patch patch makeplot N/A N/A myd variable outfile N/A N/A N/A N/A N/A plt figure num 1 figsize N/A 6.5 5.25 dpi 100 facecolor w N/A var N/A N/A myd get_var variable N/A myg N/A myd grid N/A img N/A N/A plt imshow N/A N/A np transpose N/A N/A var v interpolation nearest origin lower extent N/A N/A myg xmin N/A myg xmax N/A myg ymin N/A myg ymax N/A N/A N/A plt colorbar N/A N/A N/A plt xlabel x N/A N/A N/A plt ylabel y N/A N/A N/A plt savefig outfile bbox_inches tight N/A N/A N/A plt show N/A usage N/A N/A N/A N/A N/A usage 
usage: plotvar.py [-h] [-o image.png] filename variable

positional arguments:
  filename      required inputs: filename to read from
  variable      required inputs: variable to plot from filename

optional arguments:
  -h, --help    show this help message and exit
  -o image.png  output image name. The extension .png will generate a PNG
                file, .eps will generate an EPS file (default: plot.png).
 N/A usage N/A N/A N/A sys exit N/A N/A N/A __name__ __main__ N/A N/A N/A N/A N/A opts next N/A N/A getopt getopt N/A N/A sys argv N/A 1 o:h N/A N/A N/A N/A getopt GetoptError N/A N/A N/A N/A sys exit invalid calling sequence N/A outfile plot.png N/A N/A o a opts N/A N/A N/A o -h N/A N/A N/A usage N/A N/A o -o N/A N/A outfile a N/A N/A N/A file N/A next N/A 0 N/A N/A N/A N/A N/A usage N/A N/A N/A variable N/A next N/A 1 N/A N/A N/A N/A N/A usage N/A N/A myg myd N/A N/A patch read file N/A N/A makeplot myd variable outfile