From 1b0fb955832f99f142f9c737efd065d4129e31ac Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Mon, 6 Apr 2020 14:26:22 +0200 Subject: [PATCH] add axes linking test --- src/examples.jl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/examples.jl b/src/examples.jl index ff55b586..37c9e19b 100644 --- a/src/examples.jl +++ b/src/examples.jl @@ -934,6 +934,18 @@ const _examples = PlotExample[ 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