The IrregularPlot class draws immediate mode lines and may be used to map overlay plots into an irregular rectangular coordinate space.
Header file: ncarg/hlu/IrregularPlot.h Class name: irregularPlotClass Class pointer: NhlirregularPlotClass Fortran class function: NHLFIRREGULARPLOTCLASS Superclass: Transform Composite classes: IrregularTransObj,PlotManager
You can transform a plot object into an irregularly-gridded coordinate space by overlaying it on a IrregularPlot acting as a base plot. This irregularly-gridded space may encompass the data space of any number of regularly or irregularly gridded plot objects with partially or completely disjoint data coordinate extents. With such a space defined for an IrregularPlot base plot, you can combine into a single plot many disjoint plot objects.
You define the irregular mapping, as well as the coordinate axis extents and directions, using the resources of the IrregularTransObj composite class member. Note that the IrregularTransObj allows you to define an irregular transformation for one axis and a linear or logarithmic transformation for the other axis.
Assuming tfPlotManagerOn is True when you create a IrregularPlot object, the IrregularPlot object has the same plot management capabilities as any other plot object. The IrregularPlot object does not intercept any resources belonging to its PlotManager or the PlotManager's composite class members. Therefore, you access these resources just as described for the PlotManager object itself.
The immediate mode lines draw into the Workstation object as soon as you call the DataPolyline function. They are not part of the object because they do not appear when you execute the Draw method for the IrregularPlot object. At the present time there is no way to save these lines into a segment.
1:The status of the immediate mode drawing functions (DataPolyline) is not yet resolved.
2: The resources of the IrregularTransObj used to set the irregular coordinate transformation need to be updated to use GenArrays.
NG4 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?