/// <summary> /// add a plot to a new scene graph /// </summary> /// <param name="plot">plot to be added to the panel</param> /// <returns>newly created scene graph</returns> public ILSceneGraph AddPlot(ILPlot plot) { ILSceneGraph scene = AddSceneGraph(); scene.AddNode(plot); return(scene); }
/// <summary> /// create a new figure and initialize it with a given plot /// </summary> /// <param name="plot">the plot to be shown in the figure</param> public ILFigure(ILPlot plot) : this() { this.ActiveSubfigure.Panel.Graphs.AddPlot(plot); }