AGPolarGraph


Synopsis

one polar graph based on given input data

AGPrimitive+AGPolarGraphParams AGPolarGraph
{
AGColor color;
AGString+IPort2 legendText => name_of(<-);
AGFloat+IPort2 valuesT[];
AGFloat+IPort2 valuesR[] = {0.1,2,3,2,2,4,5,3,2,3};
};

Description

AGPolarGraph draws one graph of type curve or scatter. The data for the graph is given as R (radius) only or both R and T (theta).

Subobjects

visibility
priority

Inherited from AGPrimitive.

graphType
lineStyle
lineWidth
scatterSymbols
symbolFont
symbolHeight

Inherited from AGPolarGraphParams.

legendText

A string passed to an AGGraphLegend connected to this AGPolarGraph.

color

The color of the graph. If the color is unset, the value is retrieved from the graphColors parameter in the connected AGPolarGraphWorld or AGGraphViewport.

valuesT

Theta (or angle) values for the graph. If unset, values 0, 10, 20, 30, and up to the number of R values are used.

valuesR

Radius values for the graph. This subobject must be set to plot a polar graph.

Examples

Libraries.Examples.Annotation_Graphing.polar
examples/polar.v

File

v/ag.v

See Also

Related modules

•      AGGraphLegend / AGGraphLegendObj

•      AGPolarGraphParams

•      AGGraphViewport / AGGraphViewportObj

•      AGPolarGraphWorld

•      AGPrimitive