Skip to content

SignalPlot uses wrong line style in high density mode #929

@damiandixon

Description

@damiandixon

Using master branch.

Changed the cookbook/Plottable/Signal.cs file as follows:

        public void ExecuteRecipe(Plot plt)
        {
            double[] ys = DataGen.RandomWalk(null, 500);
            int sampleRate = 10;

            var sp2 = plt.AddSignal(ys, sampleRate, Color.Magenta);
            sp2.OffsetY = 1000;
            sp2.OffsetX = 300;
            sp2.LineStyle = LineStyle.Dash;
            sp2.LineWidth = 4;
        }

I set the LineStyle and LineWidth. The LineWidth mainly to convince myself I was looking at the correct example.

I see the following when I display Plottable: Signal Plot->Styled Signal Plot:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGunexpected behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions