PHPlot User / Internal Functions

DrawDataLabel($lab,$x_world,$y_world)
User Function and Internal Function: Draw a label at the world coordinates of x_world and y_world.

DrawDot($x_world,$y_world,$dot_type,$color)
User Function and Internal Function: Draw one dot at $x_world and $y_world where the world coordinates (not pixel coordinates).

DrawXDataLabel($xlab,$xpos)
User Function and Internal Function: Draw a data label on the x axis at world position $xpos. The position below the x axis is set based on the size of the font, and (if using TTF) the maximum string length of the labels, and the angle at which the labels are printed.

SetDataColors($which_data,$which_border)
If called with $which_data="" it defaults to $which_data = array("blue","bisque",array(0,176,0)); $which_border = array("black");

SetErrorBarColors($which_data)
If not called then the colors are the same as the colors of the data as set by SetDataColors() otherwise it sets the colors of the error bars.

SetLabels($xlbl,$ylbl,$title)
Internal Function and User Function: Set the text of the X, Y and Title labels. If you want to just set the X-axis label you can use SetXLabel.

SetNewPlotAreaPixels($x1,$y1,$x2,$y2)
Reserved - not used yet.

SetPlotAreaWorld($xmin,$ymin,$xmax,$ymax)
User Function and Internal Function: You do not have to call this function as the program will set the plot area automatically based on max values of X and Y.
You can call this function as SetPlotAreaWorld("","","","") and it will set the plot area based on max/min values of data.