Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

信号のスケーリング

信号プロットは、ユーザー定義の量に応じて垂直方向にスケーリングできます。

Signal.cs
ScottPlot.Plot myPlot = new();

// -1 から 1 までの値をプロットする
double[] values = ScottPlot.Generate.Sin(51);
var signal = myPlot.Add.Signal(values);

// 垂直方向のスケーリングを増やす
signal.Data.YScale = 500;

myPlot.SavePng("demo.png", 400, 300);
このレシピは、信号プロットカテゴリに含まれる多数のレシピの 1 つです