-
Notifications
You must be signed in to change notification settings - Fork 982
Closed
Description
What can we do to make ScottPlot better?
Current Plot.cs source file contain about 2500 lines of code. Each time working with such a huge file is difficult.
Grouping by regions only partially solves the problem. Most of the code is API from which there is no escape.
It may make sense to split the current class into different files, at least we can move the PlotScatter, PlotSignal, etc API definitions to a separate file, or even better to a group of files.
Plot.cs
public partial class Plot
{
// all definitions without Plottables API
....
}PlotPlottablesAPI.cs
public partial class Plot
{
public PlottableScatter PlotScatter(...)
{
...
}
public PlottableSignal PlotSignal(...)
{
...
}
...
} Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels