Skip to content

Commit

Permalink
Put the plots in a subfolder so they can be more easily ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
dsharlet committed May 6, 2023
1 parent 783e389 commit a5d0b47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tests/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ public void PlotAll(string Title, Dictionary<Expression, List<double>> Outputs)
i.Value.Select((k, n) => new KeyValuePair<double, double>(n, k)).ToArray())
{ Name = i.Key.ToString() }));

p.Save(Title + ".bmp");
System.IO.Directory.CreateDirectory("Plots");
p.Save("Plots\\" + Title + ".bmp");
}
}
}

0 comments on commit a5d0b47

Please sign in to comment.