Re: Cartesian coordinate system
Good idea indeed ;o)
Just added the createFunctionSerie() function to the pData classe that accepts a formula as input and populate the associated dataset with the values.
Code:
$MyData = new pData();
$MyData->createFunctionSerie("Serie 1","log(z)",array("AutoDescription"=>TRUE,"MinX"=>-10,"MaxX"=>10,"XStep"=>1,"RecordAbscissa"=>TRUE,"AbscissaSerie"=>"Labels"));
$MyData->createFunctionSerie("Serie 2","z*z*z",array("AutoDescription"=>TRUE,"MinX"=>-10,"MaxX"=>10,"XStep"=>1));
$MyData->createFunctionSerie("Serie 3","(z*15)*z",array("AutoDescription"=>TRUE,"MinX"=>-10,"MaxX"=>10,"XStep"=>1));
$MyData->setAxisName(0,"functions");
$MyData->setAbscissa("Labels");
JD.