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
xx1x start
xx2x end
yy1y start
yy2y end
nextlink to next object in the list
scalescale for text (0.0 to use the default)
PaddingPadding to alignment boundary


Data type AjPGraphPlpData

Graph data object. Substructure of AjPGraphPlp.

Attributes

NameTypeDescription
xx coordinates
yy coordinates
xcalcif x calculated then delete after
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
windowsetSet true when (xy) window coordinates are set
isdataTrue for a data type graph
descPlot description, used to set default title
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
displaytypeDisplaytype index to graphType
PaddingPadding to alignment boundary


Data type AjPGraph

Graph object.

Attributes

NameTypeDescription
plplotPlPlot graph object
xmlXML graph object
numsetsNumber of sets in a multiple graph
PaddingPadding to alignment boundary