SetScale("linlin"); $graph->SetShadow(); $graph->SetAxisStyle(AXSTYLE_BOXIN); $graph->img->SetMargin(50,50,60,40); $graph->title->Set("Linked scatter plot"); $graph->title->SetFont(FF_FONT1,FS_BOLD); $graph->subtitle->Set("(BOXIN Axis style)"); $graph->subtitle->SetFont(FF_FONT1,FS_NORMAL); // 10% top and bottom grace $graph->yscale->SetGrace(5,5); $graph->xscale->SetGrace(1,1); $sp1 = new ScatterPlot($datay,$datax); $sp1->mark->SetType(MARK_FILLEDCIRCLE); $sp1->mark->SetFillColor("red"); $sp1->SetColor("blue"); //$sp1->SetWeight(3); $sp1->mark->SetWidth(4); $sp1->SetLinkPoints(); $graph->Add($sp1); $graph->Stroke(); ?>