-
-
Notifications
You must be signed in to change notification settings - Fork 370
Closed
Labels
Description
Copying from Slack:
If I try to choose the marker of a scatter plot with
markershape=:foo, then this also changes the marker shape of my error bars, which is super undesirable. Is there a way in Plots.jl to just change the shape of the scatter plot’s points’ marks?
MWE1:
julia> using Plots, PGFPlotsX; pgfplotsx()
julia> using Measurements
julia> scatter(title="Foo")
julia> scatter!([(1.0±0.2, 0.9±0.12), (2.2±0.3, 1.8±0.2)]; markershape=:x)MWE2:
using Plots; plot(1:10,1:10,yerr=0.5,shape=:o)As expected in Plots 1.32.0, unexpected in 1.35.5 due to the merge of #4362
Me:
plotting MWE2 seperately would look like this
plot(1:10,1:10, shape=:o); yerror!(1:10, 1:10, yerror=0.5, color=1, z_order=:back)
The measurements recipe is another story..
Possible fixes:
- Measurements fixes the markershapes to the former defaults
- Remove ability to customize errorcaps
- introduce new attributes for error markershapes (I tried to argue against something similar in Add option for error bar styles #4360, but thats not necessarily my last word)
padmer