예제 #1
0
 /// <summary>
 /// 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.
 /// </summary>
 /// <param name="p">the IDrawable object to add to the plot surface</param>
 /// <param name="xp">the x-axis to add the plot against.</param>
 /// <param name="yp">the y-axis to add the plot against.</param>
 /// <param name="zOrder">The z-ordering when drawing (objects with lower numbers are drawn first)</param>
 public void Add(IDrawable p, NPlot.PlotSurface2D.XAxisPosition xp,
                 NPlot.PlotSurface2D.YAxisPosition yp, int zOrder)
 {
     ps_.Add(p, xp, yp, zOrder);
 }
예제 #2
0
 public void Add(IDrawable p, NPlot.PlotSurface2D.XAxisPosition xp, NPlot.PlotSurface2D.YAxisPosition yp)
 {
     ps.Add(p, xp, yp);
 }