Linked axes

Source code Author Update time

using Plots
inspectdr()
x = -5:0.1:5
plot(plot(x, (x->begin
                x ^ 2
            end)), plot(x, (x->begin
                sin(x)
            end)), layout = 2, link = :y)

This page was generated using DemoCards.jl and Literate.jl.

This documentation is not for the latest stable release, but for either the development version or an older release.
Click here to go to the documentation for the latest stable release.