ajgraphstruct


Data type AjPGraphPlpObj

AJAX data structure for graph objects, contained as a substructure in AjPGraphPlpData

Attributes

NameTypeDescription
typeObject type in AjEGraphObjectTypes
colourSee AjEGraphColour for plplot colours
textText to plot
x1x start
x2x end
y1y start
y2y end
nextlink to next object in the list


Data type AjPGraphPlpData

Graph data object. Substructure of AjPGraphPlp.

Attributes

NameTypeDescription
xx coordinates
xcalcif x calculated then delete after
yy coordinates
ycalcas with x. So we do not delete data if it was passed as a ptr
numofpointsNumber of points in x and y
numofobjectsNumber of graph objects starting at Obj
minXLowest x value
maxXHighest x value
minYLowest y value
maxYHighest y value
tminXFirst x value to plot
tmaxXLast x value to plot
tminYFirst y value to plot
tmaxYLast y value to plot
titlePlot title
subtitlePlot subtitle
xaxisPlot x axis title
yaxisPlot y axis title
gtypeGraph type: 2D, Tick etc
colourSee AjEGraphColour for plplot colours
lineTypeLine type for plplot
ObjFirst graph object - links to rest


Data type AjPGraphPlp

Graph plplot object.

Attributes

NameTypeDescription
numofgraphsNumber of graphs in graphs
numofobjectsNumber of objects in Obj
numofgraphsmaxMaximum number of graphs expected
flagsover rides the EmbGraphData flags
minXLowest x value for all graphs
maxXHighest x value for all graphs
minYLowest y value for all graphs
maxYHighest y value for all graphs
xstartFirst x value to plot
xendLast x value to plot
ystartFirst y value to plot
yendLast y value to plot
readySet by plplot device init
minmaxcalcSet true when (xy)start/end are set
isdataTrue for a data type graph
displaytypeDisplaytype index to graphType
titlePlot title
subtitlePlot subtitle
xaxisPlot x axis title
yaxisPlot y axis title
outputfileOutput filename
graphsXY Data to plot for Graph(s)
ObjObjects to plot for single graph


Data type AjPGraph

Graph object.

Attributes

NameTypeDescription
numsetsNumber of sets in a multiple graph
plplotPlPlot graph object
xmlXML graph object