NPlot Documented Class Library

IPlotSurface2D.Add Method (IDrawable, XAxisPosition, YAxisPosition, Int32)

[This is preliminary documentation and subject to change.]

Adds a drawable object to the plot surface against the specified axes. If the object is an IPlot, the PlotSurface2D axes will also be updated.

void Add(
   IDrawable p,
   XAxisPosition xp,
   YAxisPosition yp,
   int zOrder
);

Parameters

p
the IDrawable object to add to the plot surface
xp
the x-axis to add the plot against.
yp
the y-axis to add the plot against.
zOrder
The z-ordering when drawing (objects with lower numbers are drawn first)

See Also

IPlotSurface2D Interface | NPlot Namespace | IPlotSurface2D.Add Overload List