public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.Ticks(rulerModeX: true, displayTicksY: false); plt.Frame(left: false, right: false, top: false); plt.TightenLayout(padding: 0, render: true); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.Title("Plot Title"); plt.XLabel("Horizontal Axis"); plt.YLabel("Vertical Axis"); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.PlotHLine(y: .85, draggable: true, dragLimitLower: -1, dragLimitUpper: +1); plt.PlotVLine(x: 23, draggable: true, dragLimitLower: 0, dragLimitUpper: 50); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.PlotVSpan(y1: .15, y2: .85, label: "VSpan"); plt.PlotHSpan(x1: 10, x2: 25, label: "HSpan"); plt.Legend(); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.PlotVSpan(y1: .15, y2: .85, label: "VSpan", draggable: true, dragLimitLower: -1, dragLimitUpper: 1); plt.PlotHSpan(x1: 10, x2: 25, label: "HSpan", draggable: true, dragLimitLower: 0, dragLimitUpper: 50); plt.Legend(); }
public TransparentBackground() { InitializeComponent(); GenericPlots.SinAndCos(formsPlot1.plt); formsPlot1.plt.Style(figBg: Color.Transparent, dataBg: Color.Transparent); formsPlot1.BackColor = Color.Transparent; button6_Click(null, null); }
public TransparentBackground() { InitializeComponent(); GenericPlots.SinAndCos(wpfPlot1.plt); wpfPlot1.plt.Style(figBg: System.Drawing.Color.Transparent); wpfPlot1.plt.Style(dataBg: System.Drawing.Color.Transparent); wpfPlot1.Render(); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.PlotHLine(y: .85, label: "HLine"); plt.PlotVLine(x: 23, label: "VLine"); plt.PlotVLine(x: 33, label: "VLine too", color: Color.Magenta, lineWidth: 3, lineStyle: LineStyle.Dot); plt.Legend(); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.PlotArrow(25, 0, 27, .2, label: "default"); plt.PlotArrow(27, -.25, 23, -.5, label: "big", lineWidth: 10); plt.PlotArrow(12, 1, 12, 0, label: "skinny", arrowheadLength: 10); plt.PlotArrow(20, .6, 20, 1, label: "fat", arrowheadWidth: 10); plt.Legend(fixedLineWidth: false); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); // custom colors are used to make it easier to see the data and figure areas plt.Style(figBg: Color.LightBlue); plt.Style(dataBg: Color.LightYellow); plt.Layout(yScaleWidth: 80, titleHeight: 50, xLabelHeight: 20, y2LabelWidth: 20); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); // custom colors are used to make it easier to see the data and figure areas plt.Style(figBg: Color.LightBlue); plt.Style(dataBg: Color.LightYellow); plt.Ticks(false, false); plt.Frame(false); plt.TightenLayout(padding: 0); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); double[] xPositions = { 7, 21, 37, 46 }; string[] xLabels = { "VII", "XXI", "XXXVII", "XLVI" }; plt.XTicks(xPositions, xLabels); double[] yPositions = { -1, 0, .5, 1 }; string[] yPabels = { "bottom", "center", "half", "top" }; plt.YTicks(yPositions, yPabels); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.Title("Impressive Graph", fontName: "courier new", fontSize: 24, color: Color.Purple, bold: true); plt.YLabel("vertical units", fontName: "impact", fontSize: 24, color: Color.Red, bold: true); plt.XLabel("horizontal units", fontName: "georgia", fontSize: 24, color: Color.Blue, bold: true); plt.PlotText("very graph", 25, .8, fontName: "comic sans ms", fontSize: 24, color: Color.Blue, bold: true); plt.PlotText("so data", 0, 0, fontName: "comic sans ms", fontSize: 42, color: Color.Magenta, bold: true); plt.PlotText("many documentation", 3, -.6, fontName: "comic sans ms", fontSize: 18, color: Color.DarkCyan, bold: true); plt.PlotText("wow.", 10, .6, fontName: "comic sans ms", fontSize: 36, color: Color.Green, bold: true); plt.PlotText("NuGet", 32, 0, fontName: "comic sans ms", fontSize: 24, color: Color.Gold, bold: true); plt.Legend(fontName: "comic sans ms", fontSize: 16, bold: true, fontColor: Color.DarkBlue); plt.Ticks(fontName: "comic sans ms", fontSize: 12, color: Color.DarkBlue); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.PlotPoint(25, 0.8, color: Color.Green); plt.PlotText(" important point", 25, 0.8, color: Color.Green); plt.PlotPoint(30, 0.3, color: Color.Black, markerSize: 15); plt.PlotText(" default alignment", 30, 0.3, fontSize: 16, bold: true, color: Color.Magenta); plt.PlotPoint(30, 0, color: Color.Black, markerSize: 15); plt.PlotText("middle center", 30, 0, fontSize: 16, bold: true, color: Color.Magenta, alignment: TextAlignment.middleCenter); plt.PlotPoint(30, -0.3, color: Color.Black, markerSize: 15); plt.PlotText("upper left", 30, -0.3, fontSize: 16, bold: true, color: Color.Magenta, alignment: TextAlignment.upperLeft); plt.PlotPoint(5, -.5, color: Color.Blue, markerSize: 15); plt.PlotText(" Rotated Text", 5, -.5, fontSize: 16, color: Color.Blue, bold: true, rotation: -30); plt.PlotText("Framed Text", 15, -.6, fontSize: 16, color: Color.White, bold: true, frame: true, frameColor: Color.DarkRed); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.Grid(enable: false); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.PlotPoint(25, 0.8); plt.PlotPoint(30, 0.3, color: Color.Magenta, markerSize: 15); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.AxisPan(-10, .5); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.PlotText("demo text", 10, .5, fontName: "comic sans ms", fontSize: 42, color: Color.Magenta, bold: true); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.Frame(left: true, bottom: true, top: false, right: false); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.Style(figBg: Color.LightBlue); plt.Style(dataBg: Color.LightYellow); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.Style(ScottPlot.Style.Light1); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.AxisZoom(2, 2); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.Grid(xSpacing: 2, ySpacing: .1); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.AxisAuto(); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.Ticks(rulerModeX: true, rulerModeY: true); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.AxisAuto(horizontalMargin: 0, verticalMargin: 0.5); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.Style(ScottPlot.Style.Control); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.Ticks(displayTicksX: false); }
public void Render(Plot plt) { GenericPlots.SinAndCos(plt); plt.Axis(-10, 60, -3, 3); }