Nplot Document
List of all members.
Detailed Description
A Windows.Forms PlotSurface2D control.Taylor Polynomials Up: Homework Previous: Submit Contents Test Driver. Program testspline implicit none interface subroutine spline(t,y,x,v) implicit none double. NPlot is a pretty good simple open source 2D plotting API. Unfortunately, the web site is down. I don't know if this is just temporary or not. I haven't heard of any.
Unfortunately it's not possible to derive from both Control and NPlot.PlotSurface2D.
Definition at line 72 of file Windows.PlotSurface2D.cs.Public Member Functions | |
void | Add (IDrawable p, NPlot.PlotSurface2D.XAxisPosition xp, NPlot.PlotSurface2D.YAxisPosition yp, int zOrder) |
Adds a drawable object to the plot surface against the specified axes. | |
void | Add (IDrawable p, int zOrder) |
Adds a drawable object to the plot surface. | |
void | Add (IDrawable p, NPlot.PlotSurface2D.XAxisPosition xp, NPlot.PlotSurface2D.YAxisPosition yp) |
Adds a drawable object to the plot surface against the specified axes. | |
void | Add (IDrawable p) |
Adds a drawable object to the plot surface. | |
void | AddAxesConstraint (AxesConstraint c) |
Add an axis constraint to the plot surface. | |
void | AddInteraction (Interactions.Interaction i) |
Adds and interaction to the plotsurface that adds functionality that responds to a set of mouse / keyboard events. | |
void | CacheAxes () |
Remembers the current axes - useful in interactions. | |
void | Clear () |
Clears the plot and resets to default values. | |
void | CopyDataToClipboard () |
Coppies data in the current plot surface view window to the clipboard as text. | |
void | CopyToClipboard () |
Coppies the chart currently shown in the control to the clipboard as an image. | |
void | DoMouseDown (MouseEventArgs e) |
All functionality of the OnMouseDown function is contained here. | |
void | DoMouseMove (MouseEventArgs e, System.Windows.Forms.Control ctr) |
All functionality of the OnMouseMove function is contained here. | |
void | DoMouseUp (MouseEventArgs e, System.Windows.Forms.Control ctr) |
All functionality of the OnMouseUp function is contained here. | |
void | DoMouseWheel (MouseEventArgs e) |
All functionality of the OnMouseWheel function is containd here. | |
void | DoPaint (PaintEventArgs pe, int width, int height) |
All functionality of the OnPaint method is provided by this function. | |
void | Draw (Graphics g, Rectangle bounds) |
Draws the plot surface on the supplied graphics surface [not the control surface]. | |
delegate void | InteractionHandler (object sender) |
This is the signature of the function used for InteractionOccurred events. | |
void | OriginalDimensions () |
sets axes to be those saved in the cache. | |
PlotSurface2D () | |
Default constructor. | |
delegate void | PreRefreshHandler (object sender) |
This is the signature of the function used for PreRefresh events. | |
void | Print (bool preview) |
Print the chart as currently shown by the control. | |
void | Remove (IDrawable p, bool updateAxes) |
Remove a drawable object from the plot surface. | |
void | RemoveInteraction (Interactions.Interaction i) |
Remove a previously added interaction. | |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Clean up any resources being used. | |
void | OnInteractionOccured (object sender) |
Default function called when plotsurface modifying interaction occured. | |
override void | OnKeyDown (KeyEventArgs e) |
the key down callback | |
override void | OnKeyUp (KeyEventArgs e) |
The key up callback. | |
override void | OnMouseDown (MouseEventArgs e) |
Mouse down event handler. | |
override void | OnMouseMove (MouseEventArgs e) |
MouseMove event handler. | |
override void | OnMouseUp (MouseEventArgs e) |
mouse up event handler. | |
override void | OnMouseWheel (MouseEventArgs e) |
Mouse Wheel event handler. | |
override void | OnPaint (PaintEventArgs pe) |
the paint event callback. | |
void | OnPreRefresh (object sender) |
Default function called just before a refresh happens. | |
Properties | |
bool | AutoScaleAutoGeneratedAxes |
When plots are added to the plot surface, the axes they are attached to are immediately modified to reflect data of the plot. | |
bool | AutoScaleTitle |
Whether or not the title will be scaled according to size of the plot surface. | |
System.ComponentModel.IContainer | components |
bool | DateTimeToolTip |
When true, tool tip will display x value as a DateTime. | |
bool | dateTimeToolTip_ = false |
static PlotContextMenu | DefaultContextMenu |
Gets an instance of a NPlot.Windows.PlotSurface2D.ContextMenu that is useful in typical situations. | |
ArrayList | Drawables |
Gets an array list containing all drawables currently added to the PlotSurface2D. | |
NPlot.PlotSurface2D | Inner |
Allows access to the PlotSurface2D. | |
event InteractionHandler | InteractionOccured |
Event is fired when an interaction happens with the plot that causes it to be modified. | |
ArrayList | interactions_ = new ArrayList() |
KeyEventArgs | lastKeyEventArgs_ = null |
NPlot.Legend | Legend |
Gets or Sets the legend to use with this plot surface. | |
int | LegendZOrder |
Gets or Sets the legend z-order. | |
int | Padding |
Padding of this width will be left between what is drawn and the control border. | |
PhysicalAxis | PhysicalXAxis1Cache |
The physical XAxis1 that was last drawn. | |
PhysicalAxis | PhysicalXAxis2Cache |
The physical XAxis2 that was last drawn. | |
PhysicalAxis | PhysicalYAxis1Cache |
The physical YAxis1 that was last drawn. | |
PhysicalAxis | PhysicalYAxis2Cache |
The physical YAxis2 that was last drawn. | |
IRectangleBrush | PlotBackBrush |
A Rectangle brush used to paint the plot background. | |
System.Drawing.Color | PlotBackColor |
A color used to paint the plot background. | |
System.Drawing.Bitmap | PlotBackImage |
An imaged used to paint the plot background. | |
event PreRefreshHandler | PreRefresh |
Event fired when we are about to paint. | |
NPlot.Windows.PlotSurface2D.PlotContextMenu | RightMenu |
Sets the right context menu. | |
NPlot.Windows.PlotSurface2D.PlotContextMenu | rightMenu_ = null |
bool | ShowCoordinates |
Flag to display a coordinates in a tooltip. | |
System.Drawing.Drawing2D.SmoothingMode | SmoothingMode |
Set smoothing mode for drawing plot objects. | |
string | Title |
The plot surface title. | |
Brush | TitleBrush |
The brush used for drawing the title. | |
Color | TitleColor |
Sets the title to be drawn using a solid brush of this color. | |
Font | TitleFont |
The font used to draw the title. | |
Axis | XAxis1 |
The first abscissa axis. | |
Axis | XAxis2 |
The second abscissa axis. | |
Axis | YAxis1 |
The first ordinate axis. | |
Axis | YAxis2 |
The second ordinate axis. | |
Private Member Functions | |
void | drawDesignMode (Graphics g, Rectangle bounds) |
Draw a lightweight representation of us for design mode. | |
void | DrawHorizontalSelection (Point start, Point end, System.Windows.Forms.UserControl ctr) |
void | InitializeComponent () |
Required method for Designer support - do not modify the contents of this method with the code editor. | |
void | NPlot_PrintPage (object sender, PrintPageEventArgs ev) |
Private Attributes | |
System.Windows.Forms.ToolTip | coordinates_ |
NPlot.PlotSurface2D | ps_ |
System.Collections.ArrayList | selectedObjects_ |
Axis | xAxis1ZoomCache_ |
Axis | xAxis2ZoomCache_ |
Axis | yAxis1ZoomCache_ |
Axis | yAxis2ZoomCache_ |
Classes | |
class | Interactions |
Encapsulates a number of separate 'Interactions'. More... | |
class | PlotContextMenu |
Summary description for ContextMenu. More... |