Skip to content

DataLogger: do not require X values to constantly ascend #3737

@TenebrosFR

Description

@TenebrosFR

Question: Cant make descending logger on x axis ? I have to make a logger depending on a movement but movement can be backward and forward. (Not both but then i would need to have descending)

ScottPlot Version: 5.0.28

Code Sample:

AddData(new []{1.0}, new[] { 2.0 });
AddData(new[] { 0.0 }, new[] { 2.0 });

public void AddData(double[] xS, double[] yS) 
{
    for(int i = 0;i < xS.Length;i++) Loggers.Last().Add(xS[i], yS[i]);
    Graph.Refresh();
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions