Results 1 to 5 of 5
Hybrid View
-
12th March 2013 19:44 #1
-
12th March 2013 20:50 #2
Join Date: Apr:2006
Location:
Posts: 8,666
php.net:
, . $p_xcoords $p_ycoords , - 1920 1080 ( x y ). css.PHP Code:
<?php
$im = imagecreate(1920, 1080);
$string = 'x';
$bg = imagecolorallocate($im, 255, 255, 255);
$black = imagecolorallocate($im, 0, 0, 0);
$numpoints = TOTAL_NUMBER_OF_POINTS;
$p_xcoords = array( ARRAY_DATA );
$p_ycoords = array( ARRAY_DATA );
// prints a black "X" in from the data
for ($i = 0; $i < $numpoints; $i++)
{
imagechar($im, 1, $p_xcoords[$i], $p_ycoords[$i], $string, $black);
}
header('Content-type: image/png');
imagepng($im);
imagedestroy($im);
exit();
?>
ARRAY_DATA , x y, .
TOTAL_NUMBER_OF_POINTS .
?Last edited by smelkomar; 13th March 2013 at 04:43. Reason: i, pew-pew
-
12th March 2013 22:28 #3
-
13th March 2013 00:36 #4
Join Date: Apr:2006
Location:
Posts: 8,666
Excel , . Chart > XY (Scatter)
-
13th March 2013 09:58 #5
gnuplot? macports
We are drowning in information, but starving for knowledge and time!




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in