commit
0d38f34e54
@ -973,8 +973,8 @@ const _examples = PlotExample[
|
|||||||
surf = Measurement.((1:10) .* (1:10)', rand(10,10))
|
surf = Measurement.((1:10) .* (1:10)', rand(10,10))
|
||||||
|
|
||||||
plot(
|
plot(
|
||||||
scatter(x, [x y], msw = 0),
|
scatter(x, [x y]),
|
||||||
scatter(x, y, z, msw = 0),
|
scatter(x, y, z),
|
||||||
heatmap(x, y, surf),
|
heatmap(x, y, surf),
|
||||||
wireframe(x, y, surf),
|
wireframe(x, y, surf),
|
||||||
legend = :topleft
|
legend = :topleft
|
||||||
|
|||||||
@ -1027,8 +1027,23 @@ end
|
|||||||
# Error Bars
|
# Error Bars
|
||||||
|
|
||||||
function error_style!(plotattributes::AKW)
|
function error_style!(plotattributes::AKW)
|
||||||
|
msc = plotattributes[:markerstrokecolor]
|
||||||
|
msc = if msc === :match
|
||||||
|
plotattributes[:subplot][:foreground_color_subplot]
|
||||||
|
elseif msc === :auto
|
||||||
|
get_series_color(
|
||||||
|
plotattributes[:linecolor],
|
||||||
|
plotattributes[:subplot],
|
||||||
|
plotattributes[:series_plotindex],
|
||||||
|
plotattributes[:seriestype],
|
||||||
|
)
|
||||||
|
else
|
||||||
|
msc
|
||||||
|
end
|
||||||
|
|
||||||
plotattributes[:seriestype] = :path
|
plotattributes[:seriestype] = :path
|
||||||
plotattributes[:markercolor] = plotattributes[:markerstrokecolor]
|
plotattributes[:markercolor] = msc
|
||||||
|
plotattributes[:linecolor] = msc
|
||||||
plotattributes[:linewidth] = plotattributes[:markerstrokewidth]
|
plotattributes[:linewidth] = plotattributes[:markerstrokewidth]
|
||||||
plotattributes[:label] = ""
|
plotattributes[:label] = ""
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user