一个简单但看似没有答案的问题:
是否可以在Plots.jl中自定义图例,以使不同的文本标签具有不同的文本颜色?使用GR后端。
发布于 2020-11-21 12:12:55
如果您使用一个绘图,您可以将其与legendfontcolor一起使用!每种颜色的语句:
julia> using Plots
julia> plot(rand(10), linecolor = :red, legendfontcolor=:red)
julia> plot!(rand(10), linecolor = :blue, legendfontcolor=:blue)https://stackoverflow.com/questions/64897733
复制相似问题