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

スケール係数

画像のすべてのコンポーネントは、ScaleFactor プロパティを調整することでサイズを拡大または縮小できます。これは、ディスプレイスケーリングが有効になっている高 DPI ディスプレイで見栄えのよい画像を作成するのに非常に便利です。

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

myPlot.ScaleFactor = 2;
myPlot.Add.Signal(Generate.Sin());
myPlot.Add.Signal(Generate.Cos());

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