Class DR

All Implemented Interfaces:
EventListener, ControlListener, RendererSourceListener

public class DR extends DefaultDisplayRendererJ2D
Provides a 2-D VisAD display for a Skew T, Log P Diagram (alias "Skew-T Chart"). Instances of this class use a protected coordinate system that maps between (PRESSURE,TEMPERATURE) and (Display.XAxis,Display.YAxis).
Version:
$Id: DR.java,v 1.10 2005/05/13 18:33:27 jeffmc Exp $
Author:
Steven R. Emmerson
  • Constructor Details

    • DR

      public DR()
      Constructs from nothing.
  • Method Details

    • enableBackground

      public void enableBackground() throws VisADException
      Adds the background.
      Throws:
      VisADException - if a core VisAD failure occurs.
    • newYContours

      protected UnionSet newYContours() throws VisADException
      Returns new Y contours.
      Returns:
      New Y contours.
      Throws:
      VisADException - if a core VisAD failure occurs.
    • main

      public static void main(String[] args) throws Exception
      Tests this class.
      Parameters:
      args - Execution arguments.
      Throws:
      Exception - Something went wrong.