Skip to content

minRenderIndex, maxRenderIndex doesn't seem to work with PlotSignalXY #493

@envine

Description

@envine

I am trying to limit the data points shown in the plot.

As I see in the demo, I confirmed that minRenderIndex, maxRenderIndex works well with PlotSignal.

double[] data = DataGen.RandomWalk(rand, 100_000);
formsPlot1.plt.PlotSignal(data, minRenderIndex: 4000, maxRenderIndex: 5000);

However, when I try to do the same things with PlotSignalXY, it doesn't seem to work.
All 100_000 points of data are shown in the plot.

double[] x = DataGen.Consecutive(100_000);
double[] data = DataGen.RandomWalk(rand, 100_000);
formsPlot1.plt.PlotSignalXY(x, data, minRenderIndex: 4000, maxRenderIndex: 5000);

Is there a way to limit the range of data points with the array index supplied to PlotSignalXY?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions