PHPlot hacking
Alex's modified version of the PHPlot graphic library
What's changed?
- X and Y axes auto numbering starts at a more rounded number.
- Intervals will be multiples of 10^n, 2*10^n or 5*10^n where 'n' depending on the magnitude of the data you are graphing.
- changed the initialization to populate
var $point_shapes =array('diamond','dot','cross','rect','triangle'); - Added new options to
function SetXDataLabelPos($which_xdlp)
to allow labels to appear on or around the data point rather than just the axes.- point Plots label at the location of the data point
- point-above Plots label immediately above the data point
- point-left Plots label immediately to the left of the data point
- point-right Plots label immediately to the right of the data point
- point-below Plots label immediately below the data point
- Removed the restriction that only
$this->x_tick_label_pos
or$this->x_data_label_pos
could be instantiated. Both may be used simultaneously. - Added new function
function SetLabelAngle($which_xla)
which uses the same parameters asfunction SetXLabelAngle($which_xla)
Code download here: phplot.tar.bz2
Gallery of plots created with this new code:


