C# Класс NPlot.PointPlot

Encapsulates functionality for drawing data as a series of points.
Наследование: BaseSequencePlot, ISequencePlot, IPlot
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Draw ( Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis ) : void

Draws the point plot on a GDI+ surface against the provided x and y axes.

DrawInLegend ( Graphics g, Rectangle startEnd ) : void

Draws a representation of this plot in the legend.

PointPlot ( ) : System

Default Constructor

PointPlot ( Marker marker ) : System

Constructor for the marker plot.

SuggestXAxis ( ) : Axis

Returns an x-axis that is suitable for drawing this plot.

SuggestYAxis ( ) : Axis

Returns a y-axis that is suitable for drawing this plot.

Описание методов

Draw() публичный Метод

Draws the point plot on a GDI+ surface against the provided x and y axes.
public Draw ( Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis ) : void
g System.Drawing.Graphics The GDI+ surface on which to draw.
xAxis PhysicalAxis The X-Axis to draw against.
yAxis PhysicalAxis The Y-Axis to draw against.
Результат void

DrawInLegend() публичный Метод

Draws a representation of this plot in the legend.
public DrawInLegend ( Graphics g, Rectangle startEnd ) : void
g System.Drawing.Graphics The graphics surface on which to draw.
startEnd System.Drawing.Rectangle A rectangle specifying the bounds of the area in the legend set aside for drawing.
Результат void

PointPlot() публичный Метод

Default Constructor
public PointPlot ( ) : System
Результат System

PointPlot() публичный Метод

Constructor for the marker plot.
public PointPlot ( Marker marker ) : System
marker Marker The marker to use.
Результат System

SuggestXAxis() публичный Метод

Returns an x-axis that is suitable for drawing this plot.
public SuggestXAxis ( ) : Axis
Результат Axis

SuggestYAxis() публичный Метод

Returns a y-axis that is suitable for drawing this plot.
public SuggestYAxis ( ) : Axis
Результат Axis