linea21-externals
[ class tree: linea21-externals ] [ index: linea21-externals ] [ all elements ]

Class: awMathPlot

Source Location: /class/system/artichow/php4/MathPlot.class.php

Class Overview

awComponent
   |
   --awMathPlot

For mathematics functions


Variables

Methods



Class Details

[line 153]
For mathematics functions



[ Top ]


Class Variables

$extremum =  NULL

[line 188]

Extremum


Type:   Side


[ Top ]

$functions = array()

[line 160]

Functions


Type:   array


[ Top ]

$grid =

[line 167]

Grid properties


Type:   Grid


[ Top ]

$interval =  1

[line 195]

Interval


Type:   float


[ Top ]

$xAxis =

[line 174]

X axis


Type:   Axis


[ Top ]

$yAxis =

[line 181]

Y axis


Type:   Axis


[ Top ]



Class Methods


constructor awMathPlot [line 205]

awMathPlot awMathPlot( int $xMin, int $xMax, int $yMax, int $yMin)

Build the plot



Parameters:

int   $xMin   Minimum X value
int   $xMax   Maximum X value
int   $yMax   Maximum Y value
int   $yMin   Minimum Y value

[ Top ]

method add [line 260]

void add( &$function &$function, [string $name = NULL], [int $type = LEGEND_LINE])

Add a formula f(x)



Parameters:

string   $name   Name for the legend (can be NULL if you don't want to set a legend)
int   $type   Type for the legend
&$function   &$function  

[ Top ]

method createGrid [line 404]

void createGrid( )



[ Top ]

method drawComponent [line 336]

void drawComponent( $driver, $x1, $y1, $x2, $y2, $aliasing)



Parameters:

   $driver  
   $x1  
   $y1  
   $x2  
   $y2  
   $aliasing  

[ Top ]

method drawEnvelope [line 328]

void drawEnvelope( $driver)



Parameters:

   $driver  

[ Top ]

method init [line 270]

void init( $driver)



Parameters:

   $driver  

[ Top ]

method initAxis [line 232]

void initAxis( &$axis)



Parameters:

   &$axis  

[ Top ]

method setInterval [line 249]

void setInterval( float $interval)

Interval to calculate values



Parameters:

float   $interval  

[ Top ]


Documentation generated on Sat, 08 Nov 2008 14:53:14 +0100 by phpDocumentor 1.4.1