Exemple #1
0
        public void ExecuteRecipe(Plot plt)
        {
            // plot sample data
            plt.AddSignal(DataGen.Sin(51));
            plt.AddSignal(DataGen.Cos(51));

            // remove traditional scale indicators
            plt.Grid(enable: false);
            plt.Frameless();

            // add an L-shaped scalebar
            plt.AddScaleBar(5, .25, "100 ms", "250 mV");
        }
Exemple #2
0
        public void ExecuteRecipe(Plot plt)
        {
            // plot sample data
            plt.AddSignal(DataGen.Sin(51));
            plt.AddSignal(DataGen.Cos(51));

            // remove horizontal scale only
            plt.XAxis.Ticks(false);
            plt.Frame(visible: false, left: true);
            plt.Grid(enable: false);

            // add a horizontal scale bar (no Y height)
            plt.AddScaleBar(5, 0, "100 ms", null);
        }
Exemple #3
0
        public void ExecuteRecipe(Plot plt)
        {
            // plot sample data
            plt.AddSignal(DataGen.Sin(51));
            plt.AddSignal(DataGen.Cos(51));

            // show only the left axis
            plt.XAxis.Hide();
            plt.XAxis2.Hide();
            plt.YAxis2.Hide();
            plt.Grid(enable: false);

            // add a horizontal scale bar (no Y height)
            plt.AddScaleBar(5, 0, "100 ms", null);
        }