You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm making some plots and I need to add error bars to my data.
When I use the following code:
using Plots, PlotThemes; theme(:default)
plot(1:10,rand(10),
yerr = 0.1rand(10),
marker=:circle
)
I get a really nice result:
I am able to reproduce the above with several other themes including :juno, :dark, etc.
However, when I use the :dao theme, which I prefer because it makes my plots look paper-ready, I don't see any error bars:
using Plots, PlotThemes; theme(:dao)
plot(1:10,rand(10),
yerr = 0.1rand(10),
marker=:circle
)
How can I resolve this issue? If the issue is with the source code, are there any quick fixes I can use?
Thanks!
The text was updated successfully, but these errors were encountered:
I found that the issue is with :markerstrokewidth => 0in the source code for the dao theme. I found that I am able to get my error bars if I added markerstrokewidth to my plot options:
The only downside is that the plot markers now have an extra black circle around them, but I can live with that. I hope this helps someone else dealing with a similar issue!
Hi,
I'm making some plots and I need to add error bars to my data.
When I use the following code:
I get a really nice result:
I am able to reproduce the above with several other themes including
:juno
,:dark
, etc.However, when I use the
:dao
theme, which I prefer because it makes my plots look paper-ready, I don't see any error bars:How can I resolve this issue? If the issue is with the source code, are there any quick fixes I can use?
Thanks!
The text was updated successfully, but these errors were encountered: