using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Eto.Forms;

namespace ScottPlot.Demo.Eto.EtoFormsDemos
{
    public partial class AxisLimits : Form
    {
        public AxisLimits()
        {
            InitializeComponent();
            formsPlot1.Plot.AddSignal(DataGen.Sin(51));
            formsPlot1.Plot.AddSignal(DataGen.Cos(51));
            formsPlot1.Plot.AxisAuto();
            formsPlot1.Plot.XAxis.SetBoundary(0, 50);
            formsPlot1.Plot.YAxis.SetBoundary(-1, 1);
            formsPlot1.Refresh();
        }
    }
}
