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

フレームレスプロット

データ領域のみを含み、軸を含まないプロットを作成する方法。

ScottPlot.Plot myPlot = new();

myPlot.Add.Signal(Generate.Sin(51));
myPlot.Add.Signal(Generate.Cos(51));

// データ領域が図全体を覆うようにする
myPlot.Layout.Frameless();

// データ領域の背景を設定して、そのサイズを確認できるようにする
myPlot.DataBackground.Color = Colors.WhiteSmoke;

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