Awesome! It all seems to work now. Now how do I add a horizontal line?
when I add:
hline!(1)
I get :
hline!(1)
ERROR: BoundsError: attempt to access 0-element Array{Float64,1} at index [1]
Stacktrace:
[1] getindex(::Array{Float64,1}, ::Int64) at .\array.jl:744
[2] expand_extrema!(::Plots.Subplot{Plots.GRBackend}, ::RecipesPipeline.DefaultsDict) at C:\Users\Brett\.julia\packages\Plots\uCh2y\src\axes.jl:350
[3] _expand_subplot_extrema(::Plots.Subplot{Plots.GRBackend}, ::RecipesPipeline.DefaultsDict, ::Symbol) at C:\Users\Brett\.julia\packages\Plots\uCh2y\src\pipeline.jl:361
[4] add_series!(::Plots.Plot{Plots.GRBackend}, ::RecipesPipeline.DefaultsDict) at C:\Users\Brett\.julia\packages\Plots\uCh2y\src\pipeline.jl:312
[5] _process_seriesrecipe(::Plots.Plot{Plots.GRBackend}, ::RecipesPipeline.DefaultsDict) at C:\Users\Brett\.julia\packages\RecipesPipeline\tkFmN\src\series_recipe.jl:44
[6] _process_seriesrecipe(::Plots.Plot{Plots.GRBackend}, ::RecipesPipeline.DefaultsDict) at C:\Users\Brett\.julia\packages\RecipesPipeline\tkFmN\src\series_recipe.jl:58
[7] _process_seriesrecipes!(::Plots.Plot{Plots.GRBackend}, ::Array{Dict{Symbol,Any},1})
at C:\Users\Brett\.julia\packages\RecipesPipeline\tkFmN\src\series_recipe.jl:25
[8] recipe_pipeline!(::Plots.Plot{Plots.GRBackend}, ::Dict{Symbol,Any}, ::Tuple{Int64})
at C:\Users\Brett\.julia\packages\RecipesPipeline\tkFmN\src\RecipesPipeline.jl:96
[9] _plot!(::Plots.Plot{Plots.GRBackend}, ::Dict{Symbol,Any}, ::Tuple{Int64}) at C:\Users\Brett\.julia\packages\Plots\uCh2y\src\plot.jl:167
[10] #plot!#136(::Base.Iterators.Pairs{Symbol,Symbol,Tuple{Symbol},NamedTuple{(:seriestype,),Tuple{Symbol}}}, ::typeof(plot!), ::Plots.Plot{Plots.GRBackend}, ::Int64) at C:\Users\Brett\.julia\packages\Plots\uCh2y\src\plot.jl:158
[11] (::RecipesBase.var"#kw##plot!")(::NamedTuple{(:seriestype,),Tuple{Symbol}}, ::typeof(plot!), ::Plots.Plot{Plots.GRBackend}, ::Int64) at .\none:0
[12] #plot!#135(::Base.Iterators.Pairs{Symbol,Symbol,Tuple{Symbol},NamedTuple{(:seriestype,),Tuple{Symbol}}}, ::typeof(plot!), ::Int64) at C:\Users\Brett\.julia\packages\Plots\uCh2y\src\plot.jl:150
[13] (::RecipesBase.var"#kw##plot!")(::NamedTuple{(:seriestype,),Tuple{Symbol}}, ::typeof(plot!), ::Int64) at .\none:0
[14] #hline!#378 at C:\Users\Brett\.julia\packages\RecipesBase\aQmWx\src\RecipesBase.jl:403 [inlined]
[15] hline!(::Int64) at C:\Users\Brett\.julia\packages\RecipesBase\aQmWx\src\RecipesBase.jl:403
[16] top-level scope at REPL[14]:1