PlotControl — Defines plot mode, type and orientation.

Singleton class to encapsulate plot types and plot modes as enums, as well a convention for file extension strings. All plot types may not be supported by individual plotting tools. For instance, matplotlib only supports PNG for thumbnail creation.

Plot types are:

  • PlotControl.GIF (@todo should we get rid of this?)
  • PlotControl.JPG
  • PlotControl.PDF
  • PlotControl.PNG
  • PlotControl.PS
  • PlotControl.SVG

Plot modes are:

  • PlotControl.NOPLOT
  • PlotControl.BATCH
  • PlotControl.INTERACTIVE
  • PlotControl.SHOW_AT_END

Plot Orientations are:

  • PlotControl.LANDSCAPE
  • PlotControl.PORTRAIT