SetScale("textlin"); // Create the linear plot $lineplot=new LinePlot($ydata); $lineplot->SetColor("blue"); // Add the plot to the graph $graph->Add($lineplot); // Display the graph $graph->Stroke(); ?>