Example #1
0
        public void PlotTest()
        {
            var dataX = new[] {1, 2, 3.3, 4.9, 5};
            var dataY = new[] {5.0, 7, 8, 3, 2};
            var q = new OctavePlot( dataX, dataY)
                        {
                            Style = PlotStyle.LineWithTrendLine(dataX, dataY),
                            XLabel = "линия снизу",
                            YLabel = "Линия сбоку",
                            Title = "trolo",
                            GridVisible = true
                        }.DrawPlotTo("1.png") ;

            Console.WriteLine(q);
        }
Example #2
0
 public OctaveMultiplePlots(OctavePlot[] plots)
 {
     this.plots = plots;
 }
Example #3
0
        public void DatePlotTest()
        {
            var q = new OctavePlot(new[] {new DateTime(1,1,1), new DateTime(1,1,7) }, new[] {5.0, 7})
                        {
                            Style = PlotStyle.Bar,
                            XLabel = "линия снизу",
                            YLabel = "Линия сбоку",
                            Title = "trolo"
                        }.DrawPlotTo("2.png");

            Console.WriteLine(q);
        }