■ VLineVector 클래스를 사용하는 방법을 보여준다.
▶ 예제 코드 (C#)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
using System.Drawing; using ScottPlot; using ScottPlot.Plottable; Plot plot = new Plot(800, 600); VLineVector vLineVector = new VLineVector(); vLineVector.Color = Color.Red; vLineVector.PositionLabel = true; vLineVector.PositionLabelBackground = vLineVector.Color; vLineVector.Xs = new double[] { 50, 100, 150 }; plot.Add(vLineVector); |