Kreslenie bodov
<? $im = ImageCreate(300, 100); $bgc = ImageColorAllocate($im,255,255,255); $tc = ImageColorAllocate($im,0,0,0); for ($x=0; $x<300; $x++) { ImageSetPixel($im, $x, sin($x*50)*20+50, $tc); //ImageSetPixel(image, x, y, color); } Header("Content-type: image/gif"); ImageGif($im); ?>