<?php // content="text/plain; charset=utf-8" require_once ('jpgraph/jpgraph.php'); require_once ('jpgraph/jpgraph_line.php'); require_once ('jpgraph/jpgraph_date.php'); // Create a data set in range (50,70) and X-positions DEFINE('NDATAPOINTS',3600); DEFINE('SAMPLERATE',2); $start = time(); //var_dump($start);exit(); $end = $start+NDATAPOINTS*SAMPLERATE; $data = array(); $xdata = array(); for( $i=0; $i < NDATAPOINTS; ++$i ) { $data[$i] = rand(39,100); $xdata[$i] = $start + $i * SAMPLERATE; } //var_dump($data);exit(); // Create the new graph $graph = new Graph(540,300); // Slightly larger than normal margins at the bottom to have room for // the x-axis labels $graph->SetMargin(40,40,30,130); // Fix the Y-scale to go between [0,100] and use date for the x-axis $graph->SetScale('datlin',0,200); //$graph->title->Set("hello"); // Set the angle for the labels to 90 degrees $graph->xaxis->SetLabelAngle(90); $line = new LinePlot($data,$xdata); $line->SetFillColor('lightblue@0.9'); $graph->Add($line); $graph->Stroke(); ?>

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Zend Studio 13.0.1
Powerful PHP integrated development environment

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version
Useful JavaScript development tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft