We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
twinx()
It looks like when twinx() is used the legend for the 2nd plot is displayed over the top of the legend for the first plot:
MWE:
using Plots plot(randn(10), label="First") plot!(twinx(), randn(10), label="Second")
You can confirm by setting legend=:bottomright in the first plot call.
legend=:bottomright
Currently I'm using this workaround:
plot(randn(10), legend=false) plot!(twinx(), [fill(NaN, 10) randn(10)], label=["First" "Second"])
The text was updated successfully, but these errors were encountered:
whoops, sorry for the duplicate issues. This was during the github down-time so I kept getting errors
Sorry, something went wrong.
No branches or pull requests
It looks like when
twinx()
is used the legend for the 2nd plot is displayed over the top of the legend for the first plot:MWE:
You can confirm by setting
legend=:bottomright
in the first plot call.Currently I'm using this workaround:
The text was updated successfully, but these errors were encountered: