Images with custom axes

Source code Author Update time

using Plots
gaston()
using TestImages
img = testimage("lighthouse")
plot([-π, π], [-1, 1], reverse(img, dims = 1), yflip = false, aspect_ratio = :none)
plot!(sin, -π, π, lw = 3, color = :red)
Gnuplot Produced by GNUPLOT 5.4 patchlevel 2 -1.0 -0.5 0.0 0.5 1.0 -3 -2 -1 0 1 2 3 gnuplot_plot_1a y2 gnuplot_plot_1a y2 y2

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