mirror of
https://github.com/tdulcet/Table-and-Graph-Libs.git
synced 2025-05-08 00:01:21 +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
|
// plot from single data set, drawn on top of existing graph
|
||||||
template <typename T>
|
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";
|
cout << "Experimental plot\n";
|
||||||
|
|
||||||
// precalc spans
|
// precalc spans
|
||||||
@ -963,7 +963,7 @@ namespace graphs
|
|||||||
}
|
}
|
||||||
// plot from single data set
|
// plot from single data set
|
||||||
template <typename T>
|
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";
|
cout << "Experimental plot\n";
|
||||||
|
|
||||||
// precalc spans
|
// precalc spans
|
||||||
|
Loading…
Reference in New Issue
Block a user