SetScale('textlin'); $tgraph = new Graph(450,250); $tgraph->SetScale('textlin'); //$pgraph = new Graph(550,250); //$pgraph->SetScale('textlin'); // Create the linear plot $linevplot=new LinePlot($vdata); $linevplot->SetColor('blue'); $linevplot->SetLegend('vacu'); $linetplot=new LinePlot($tdata); $linetplot->SetColor('red'); $linetplot->SetLegend('temp'); $linepplot=new LinePlot($pdata); $linepplot->SetColor('orange'); $linepplot->SetLegend('pres'); $tgraph->AddLine($linevplot); $tgraph->AddLine($linetplot); $tgraph->AddLine($linepplot); // Add the plot to the graph //$vgraph->Add($linevplot); //$tgraph->Add($linetplot); //$pgraph->Add($linepplot); // Display the graph //$vgraph->Stroke(); $tgraph->Stroke(); //$pgraph->Stroke(); ?>