Hey everyone,
I would like to know if it is possible to change only one label name of a simple plot containing a twin axis using Plots. Of course I know that you can do that when calling twinx, but for one of my use, I need to do it AFTER creating the plot.
This is the MWE:
p = plot()
p_twin = twinx(p)
plot!(p, ylabel="sin(x)")
which output this:
As I am only replacing p
, I would expect to only change the label of p
but that doesn’t seem to be the case…
I would like to be able to only modify the y label on the left.