ui/src/main/java/ucar/nc2/ui/coverage2/CoverageRenderer.java
public void renderPlanView(java.awt.Graphics2D g, AffineTransform dFromN) {
    if ((dataState.grid == null) || (colorScale == null) || (drawProjection == null))
      return;

    if (!drawGrid && !drawContours)
      return;

    // no anitaliasing
    g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF);

    dataH = readHSlice(wantLevel, wantTime, wantEnsemble, wantRunTime);
    if (dataH == null)
      return;

    setColorScaleParams();

    if (drawGrid)
      drawGridHoriz(g, dataH);
    //if (drawContours)
    //  drawContours(g, dataH.transpose(0, 1), dFromN);
    if (drawGridLines)
      drawGridLines(g, dataH);
    if (drawBB)
      drawGridBB(g, this.dataState.coverageDataset.getLatlonBoundingBox());
  }
public void renderPlanView(java.awt.Graphics2D g, AffineTransform dFromN) {
    if ((dataState.grid == null) || (colorScale == null) || (drawProjection == null))
      return;

    if (!drawGrid && !drawContours)
      return;

    // no anitaliasing
    g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF);

    dataH = readHSlice(wantLevel, wantTime, wantEnsemble, wantRunTime);
    if (dataH == null)
      return;

    setColorScaleParams();

    if (drawGrid)
      drawGridHoriz(g, dataH);
    //if (drawContours)
    //  drawContours(g, dataH.transpose(0, 1), dFromN);
    if (drawGridLines)
      drawGridLines(g, dataH);
    if (drawBB)
      drawGridBB(g, this.dataState.coverageDataset.getLatlonBoundingBox());
  }
public void renderPlanView ( java . awt . Graphics2D g , AffineTransform dFromN ) { if ( ( dataState . grid == null ) || ( colorScale == null ) || ( drawProjection == null ) ) return ; if ( ! drawGrid && ! drawContours ) return ; // no anitaliasing g . setRenderingHint ( RenderingHints . KEY_ANTIALIASING , RenderingHints . VALUE_ANTIALIAS_OFF ) ; dataH = readHSlice ( wantLevel , wantTime , wantEnsemble , wantRunTime ) ; if ( dataH == null ) return ; setColorScaleParams ( ) ; if ( drawGrid ) drawGridHoriz ( g , dataH ) ; //if (drawContours) //  drawContours(g, dataH.transpose(0, 1), dFromN); if ( drawGridLines ) drawGridLines ( g , dataH ) ; if ( drawBB ) drawGridBB ( g , this . dataState . coverageDataset . getLatlonBoundingBox ( ) ) ; }
Do the rendering to the given Graphics2D object.

@param g      Graphics2D object: has clipRect and AffineTransform set.
@param dFromN transforms "Normalized Device" to Device coordinates
Do the rendering to the given Graphics2D object .