Blame | Letzte Änderung | Log anzeigen | RSS feed
<?phpinclude ("../jpgraph.php");include ("../jpgraph_log.php");include ("../jpgraph_error.php");$xdata = array( 2.0, 2.5, 3.0, 4.0, 5.0, 6.0, 8.0, 10.0,12.0, 15.0, 20.0, 25.0, 30.0, 40.0, 50.0, 60.0,75.0, 100., 125., 150., 175., 200., 250., 300.,400., 500., 600., 800., 950.,1200., 1500., 2000., 2500.);$ydata = array(270., 280., // 2 m330., 340., // 2.5410., 420., // 3550., 560., // 4670., 680., // 5770., 780., // 6930., 940., // 81010., 1020., // 101040., 1050., // 12980., 990., // 15860., 870., // 20720., 730., // 25590., 600., // 30370., 380., // 40330., 340., // 50320., 330., // 60320., 330., // 75300., 310., // 100305., 315., // 125310., 320., // 150315., 325., // 175300., 310., // 200270., 280., // 250240., 250., // 300200., 210., // 400150., 160., // 500120., 130., // 60050., 60., // 80030., 40., // 95015., 20., // 12008., 10., // 15007., 9., // 20008., 10. // 2500 m);$graph = new Graph(500,300,"auto");$graph->SetScale("linlog");$graph->img->SetMargin(40,20,20,40);$graph->title->SetFont(FF_FONT1,FS_BOLD);$graph->xaxis->title->Set("ab/2");$graph->yaxis->title->Set("rho_s");$graph->xaxis->title->SetFont(FF_FONT1,FS_BOLD);$graph->yaxis->title->SetFont(FF_FONT1,FS_BOLD);$graph->ygrid->Show(true,true);$graph->xgrid->Show(true,true);$errorplot=new ErrorPlot($ydata, $xdata);$graph->Add($errorplot);$graph->Stroke();?>