File tree Expand file tree Collapse file tree 3 files changed +16
-13
lines changed
Expand file tree Collapse file tree 3 files changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,15 @@ version = "0.1.0"
66[deps ]
77BenchmarkTools = " 6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
88Colors = " 5ae59095-9a9b-59fe-a467-6f913c188581"
9+ ControlPlots = " 23c2ee80-7a9e-4350-b264-8e670f12517c"
910DelimitedFiles = " 8bb1440f-4735-579b-a4ab-409b98df4dab"
1011LaTeXStrings = " b964fa9f-0449-5b57-a5c2-d3ea65f4040f"
1112LinearAlgebra = " 37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1213Logging = " 56ddb016-857b-54e1-b83d-db4d58db5568"
1314Measures = " 442fdcdd-2543-5da2-b0f3-8c86c306513e"
14- Plots = " 91a5bcdd-55d7-5caf-9e0b-520d859cae80"
1515StaticArrays = " 90137ffa-7385-5640-81b9-e52037218182"
1616Statistics = " 10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1717Test = " 8dfed614-e22c-5e08-85e1-65c5234f0b40"
18+
19+ [compat ]
20+ ControlPlots = " 0.2.5"
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ using Logging
66using Statistics
77using Colors
88using DelimitedFiles
9- using Plots
9+ using ControlPlots
1010using Measures
1111using LaTeXStrings
1212
Original file line number Diff line number Diff line change @@ -95,15 +95,15 @@ function set_plot_style()
9595 end
9696end
9797
98- """
99- apply_palette!(p::Plots.Plot, colors::Vector{String})
98+ # """
99+ # apply_palette!(p::Plots.Plot, colors::Vector{String})
100100
101- Apply the color palette to a plot.
102- """
103- function apply_palette! (p:: Plots.Plot , colors:: Vector{String} )
104- for (i, series) in enumerate (p. series_list)
105- color_name = colors[mod1 (i, length (colors))]
106- series. plotattributes[:linecolor ] = get_color (color_name)
107- end
108- return p
109- end
101+ # Apply the color palette to a plot.
102+ # """
103+ # function apply_palette!(p::Plots.Plot, colors::Vector{String})
104+ # for (i, series) in enumerate(p.series_list)
105+ # color_name = colors[mod1(i, length(colors))]
106+ # series.plotattributes[:linecolor] = get_color(color_name)
107+ # end
108+ # return p
109+ # end
You can’t perform that action at this time.
0 commit comments