commit
407456eac5
@ -1,7 +1,7 @@
|
|||||||
name = "Plots"
|
name = "Plots"
|
||||||
uuid = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
|
uuid = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
|
||||||
author = ["Tom Breloff (@tbreloff)"]
|
author = ["Tom Breloff (@tbreloff)"]
|
||||||
version = "1.0.1"
|
version = "1.0.2"
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
|
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
|
||||||
|
|||||||
@ -1015,7 +1015,7 @@ function preprocessArgs!(plotattributes::AKW)
|
|||||||
end
|
end
|
||||||
# handle axes args
|
# handle axes args
|
||||||
for k in _axis_args
|
for k in _axis_args
|
||||||
if haskey(plotattributes, k)
|
if haskey(plotattributes, k) && k !== :link
|
||||||
v = plotattributes[k]
|
v = plotattributes[k]
|
||||||
for letter in (:x, :y, :z)
|
for letter in (:x, :y, :z)
|
||||||
lk = Symbol(letter, k)
|
lk = Symbol(letter, k)
|
||||||
|
|||||||
@ -934,6 +934,18 @@ const _examples = PlotExample[
|
|||||||
end,
|
end,
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
PlotExample(
|
||||||
|
"Linked axes",
|
||||||
|
"",
|
||||||
|
[
|
||||||
|
quote
|
||||||
|
begin
|
||||||
|
x = -5:0.1:5
|
||||||
|
plot(plot(x, x->x^2), plot(x, x->sin(x)), layout = 2, link = :y)
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
],
|
||||||
|
),
|
||||||
]
|
]
|
||||||
|
|
||||||
# Some constants for PlotDocs and PlotReferenceImages
|
# Some constants for PlotDocs and PlotReferenceImages
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user