Dear Plots wizards—macos. julia 1.0.0. Plots.jl with standard gr() backend. Vanilla install. Please type this in:
$ julia
julia> using Plots
julia> plot( [-1,10], [-1,10], color=Gray(0.5), w=30, title="gray scale" )
julia> for i=0:10; vline!( [i], color=Gray(i/10.0), w=10 ) end
If you see what I see, it is the diagonal line, but no vertical lines. I have tried this with newly restarted julias, GKSTerm, etc. however, if I do a savefig(), the vertical lines do show up. similarly, if in the julia REPL, I type now (following the above)
julia> hline!( [2.0], color=Gray(0.3))
the vertical lines suddenly appear, too. it’s as if Plots forgot to tell GKSTerm to redraw until it is woken up by the hline. or maybe I am doing something wrong altogether? and/or can I force a redraw?
And, this was a debug run itself—I wanted to show off a gray spectrum. but why does the following only draw black vertical bars?
julia> vline!( 0:10, color=Gray.(reshape(collect(0.0:0.1:1.0),1,11)), w=20 )
And the incorrect vector argument (vline!( 0:10, color=Gray.(collect(0.0:0.1:1.0)), w=20 )
is also baffling.
Any advice would be appreciated.