Class Contour
(Defined in: jpgraph_contour.php : 22)
 
 Contour 
 adjustDataPointValues() 
 CalculateColors() 
 determineIsobarEdgeCrossings() 
 getCrossingCoord() 
 getIsobars() 
 getMinMaxVal() 
 isobarHCrossing() 
 isobarVCrossing() 
 resetEdgeMatrices() 
 SetInvert() 
 UseHighContrastColor() 
 __construct() 
 

Class usage and Overview

 


Class Methods

 

Contour ::
adjustDataPointValues()
// In order to avoid numerical problem when two vertices are very close// we have to check and avoid dividing by close to zero denumerator.


Description:
No description available.

 

Contour ::
CalculateColors()


Description:
No description available.

 

Contour ::
determineIsobarEdgeCrossings($aIsobar)
//'isobarVCrossing: Col index too large

ArgumentDefaultDescription
$aIsobar  No description available

Description:
No description available.

 

Contour ::
getCrossingCoord($aRow, $aCol, $aEdgeDir, $aIsobarVal)
// We now have the bottom and rightmost edges unsearched

ArgumentDefaultDescription
$aRow  No description available
$aCol  No description available
$aEdgeDir  No description available
$aIsobarVal  No description available

Description:
No description available.

 

Contour ::
getIsobars()
// Use only blue/red scale


Description:
No description available.

 

Contour ::
getMinMaxVal()


Description:
No description available.

 

Contour ::
isobarHCrossing($aRow, $aCol, $aIsobar)

ArgumentDefaultDescription
$aRow  No description available
$aCol  No description available
$aIsobar  No description available

Description:
No description available.

 

Contour ::
isobarVCrossing($aRow, $aCol, $aIsobar)
//'ContourPlot Internal Error: isobarHCrossing: Row index too large (%d)'

ArgumentDefaultDescription
$aRow  No description available
$aCol  No description available
$aIsobar  No description available

Description:
No description available.

 

Contour ::
resetEdgeMatrices()


Description:
No description available.

 

Contour ::
SetInvert($aFlg)
//'Number of colors must equal the number of isobar lines specified';

ArgumentDefaultDescription
$aFlg true No description available

Description:
No description available.

 

Contour ::
UseHighContrastColor($aFlg, $aBW)

ArgumentDefaultDescription
$aFlg true No description available
$aBW false No description available

Description:
No description available.

 

Contour ::
__construct($aMatrix, $aIsobars, $aColors)
// File: JPGRAPH_CONTOUR.PHP// Description: Contour plot// Created: 2009-03-08// Ver: $Id: jpgraph_contour.php 1576 2009-07-13 10:35:22Z ljp $//// Copyright (c) Aditus Consulting. All rights reserved.//==================================

ArgumentDefaultDescription
$aMatrix  No description available
$aIsobars 10 No description available
$aColors null No description available

Description:
No description available.