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();

for (int i = 0; i < 10; i++)
{
    Coordinates point = Generate.RandomCoordinates();
    var marker = myPlot.Add.InteractiveMarker(point);
    marker.MarkerStyle.Shape = Generate.RandomMarkerShape();
}

myPlot.SavePng("demo.png", 400, 300);
このレシピは、インタラクティブカテゴリに含まれる多数のレシピの1つです