-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Labels
BUGunexpected behaviorunexpected behavior
Description
Bug Report
Issue: In the 5.0.10 version I can easily plot 1000 Scatter plots with 1000 points each with around 4FPS
All higher version take literally forever. Performance drastically detoriates after more than 100 Scatter plots
Reproducing: (What do others have to do to reproduce the bug?)
// a code sample may improve communication
var rnd = new Random();
int numberOfPlots = 1000;
int max = 1024;
WpfPlot1.Plot.Clear();
for (int n = 0; n < numberOfPlots; n++)
// XYPlot data
double[] dataX = new double[max];
double[] dataY = new double[max];
for (int i = 0; i < max; i++)
{
dataX[i] = i;
dataY[i] = 1000.0 * rnd.NextDouble();
}
// ScottPlot
var scatter = WpfPlot1.Plot.Add.Scatter(dataX, dataY);
scatter.MarkerStyle.IsVisible = false;
scatter.LineStyle.Width = 1.0F;
scatter.LineStyle.Pattern = LinePattern.Solid;
scatter.LineStyle.AntiAlias = true;
}
WpfPlot1.Refresh();System Details
- ScottPlot Version: 5.0.11 Beta and higher
- Operating System: Windows 10)
- Application Type: WPF
- .NET Version: (NET Framework 4.8)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BUGunexpected behaviorunexpected behavior