php 그래프 그리기

<?
header("Content-Type:image/jpeg");
$img = ImageCreate(200,200);
$black = ImageColorAllocate($img,0,0,0);
$white = ImageColorAllocate($img,255,255,255);
Imageline($img, 10,50,95,130,$white);
Imageline($img, 95,130,190,150,$white);
imagejpeg($img);
imagedestroy($img);

//사각형 이미지그래프 그리기

imagefilledrectangle($img,10,50,50,200,$black);

-string($img,10,120,0,"_",$색);
?>

'Computer Science' 카테고리의 다른 글

JSP 요약  (0) 2009.04.22
JSP 기초 강좌 사이트  (0) 2009.04.22
C# USB viewer open source  (0) 2009.04.22
Writing Data CDs  (0) 2009.04.22
파이썬으로 하는 웹 클라이언트 프로그래밍  (0) 2009.04.22

+ Recent posts