My Project
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
ImageSharpGraph.Graph Class Reference

グラフを描画するクラス More...

Collaboration diagram for ImageSharpGraph.Graph:
Collaboration graph
[legend]

Public Types

enum  OSType { unix , windows , macOs }
 実行されるOSの種別 More...
 
enum  DrawType { Scatter = 0 , Step }
 グラフの種類 More...
 

Public Member Functions

 Graph ()
 グラフ描画をカプセル化したクラス
 
void SetDrawType (Graph.DrawType type)
 描画するグラフの種類を決定する
 
void XAxisLabel (string label)
 X軸のラベルを設定する。
 
void YAxisLabel (string label)
 Y軸のラベルを設定する。
 
void SetAxisLimitsX (double start, double end)
 X軸の範囲を設定する
 
void SetAxisLimitsY (double start, double end)
 Y軸の範囲を設定する
 
void AddSignalXYConst (double[] xs, double[] ys)
 プロットを設定する。
 
void AddMarker (int x, int y)
 マーカーを追加する
 
void Draw (ImageSharpGraph.Image image)
 グラフを描画する
 

Protected Attributes

Graph.DrawType drawType = Graph.DrawType.Step
 グラフの種類
 
SixLabors.Fonts.Font axisTitleFont
 xy軸のラベル名のフォント
 
SixLabors.Fonts.Font axisFont
 xy軸の数値のフォント
 
string xAxisLabel
 x軸のラベル タイトル名
 
string yAxisLabel
 y軸のラベル タイトル名
 
ArrayList marker = new ArrayList()
 マーカー
 
OSType osType = OSType.unix
 実行されるOSのタイプ
 

Detailed Description

グラフを描画するクラス

Member Enumeration Documentation

◆ DrawType

グラフの種類

Enumerator
Scatter 

折れ線

Step 

ステップ

◆ OSType

実行されるOSの種別

Enumerator
unix 

Unix.

windows 

Microsoft Windows NT.

macOs 

MacOS.

Member Function Documentation

◆ AddMarker()

void ImageSharpGraph.Graph.AddMarker ( int  x,
int  y 
)
inline

マーカーを追加する

Parameters
xX値
yY値

◆ AddSignalXYConst()

void ImageSharpGraph.Graph.AddSignalXYConst ( double[]  xs,
double[]  ys 
)
inline

プロットを設定する。

Parameters
xsX値の配列
ysY値の配列

◆ Draw()

void ImageSharpGraph.Graph.Draw ( ImageSharpGraph::Image  image)
inline

グラフを描画する

Parameters
imageグラフを描画する画像

◆ SetAxisLimitsX()

void ImageSharpGraph.Graph.SetAxisLimitsX ( double  start,
double  end 
)
inline

X軸の範囲を設定する

Parameters
startXの開始値
endXの終了値

◆ SetAxisLimitsY()

void ImageSharpGraph.Graph.SetAxisLimitsY ( double  start,
double  end 
)
inline

Y軸の範囲を設定する

Parameters
startYの開始値
endYの終了値

◆ SetDrawType()

void ImageSharpGraph.Graph.SetDrawType ( Graph::DrawType  type)
inline

描画するグラフの種類を決定する

Parameters
type折れ線、またはステップ

デフォルトはステップ

◆ XAxisLabel()

void ImageSharpGraph.Graph.XAxisLabel ( string  label)
inline

X軸のラベルを設定する。

Parameters
labelX軸のラベル名

◆ YAxisLabel()

void ImageSharpGraph.Graph.YAxisLabel ( string  label)
inline

Y軸のラベルを設定する。

Parameters
labelY軸のラベル名

The documentation for this class was generated from the following file: