Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/html/manage_22222/jpgraph/docs/ref/ drwxr-xr-x |
Viewing file: Select action/file-type: CLASS FieldPlot EXTENDS Plot
(Defined in: jpgraph_scatter.php : 64)
Class usage and Overview A variant of scatter plot is the so called Field Plots this is
basically a scatter plot where each scatter point is an arrow with a
direction between 0 to 359 degrees. This effectively allows the
visualization of 3 parameters at each point (x,y,angle). As an
additional bonus there is also possible to define a callback for each
scatter plot to also define the color for each point.
See also related classes: FieldArrow
Class Methods
Description Create a new instance of a field plot Example
Description Specify a callback that gets clled for each arrow in the field plot
The callback should return an array with the elements
Example // teh further we get from the pole function FldCallback($x,$y,$a) { $polex=4; $poley=40; $maxr = 3000; // Size and arrow size is constant $size=""; $arrowsize=""; // Since we have different scales we need the data points // to be of the same magnitude to give it a distance // interpretation. $x *= 10; // Colors gets colder the further out we go from the center $r = ($x-$polex*10)*($x-$polex*10)+($y-$poley)*($y-$poley); $f = $r/$maxr; if( $f > 1 ) $f=1; $red = floor((1-$f)*255); $blue = floor($f*255); $color = array($red,0,$blue); return array($color,$size,$arrowsize); } // Setup the field plot $fp = new FieldPlot($datay,$datax,$angle); // Setup formatting callback $fp->SetCallback('FldCallback');
|
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0189 ]-- |