mirror of
https://github.com/tdulcet/Table-and-Graph-Libs.git
synced 2025-05-05 21:41:12 +08:00
passing colors as copy
This commit is contained in:
parent
cf7b07a881
commit
3e665661f3
@ -899,7 +899,7 @@ namespace graphs
|
||||
|
||||
// plot from single data set, drawn on top of existing graph
|
||||
template <typename T>
|
||||
void plot_experimental(const T &data, Intermediate &intermediate, const Color &color = {color_red}) {
|
||||
void plot_experimental(const T &data, Intermediate &intermediate, Color color = {color_red}) {
|
||||
cout << "Experimental plot\n";
|
||||
|
||||
// precalc spans
|
||||
@ -963,7 +963,7 @@ namespace graphs
|
||||
}
|
||||
// plot from single data set
|
||||
template <typename T>
|
||||
auto plot_experimental(const T &data, const Options &options = {}, const Color &color = {color_red}) -> Intermediate {
|
||||
auto plot_experimental(const T &data, const Options &options = {}, Color color = {color_red}) -> Intermediate {
|
||||
cout << "Experimental plot\n";
|
||||
|
||||
// precalc spans
|
||||
|
Loading…
Reference in New Issue
Block a user