Annotations at discrete locations

Source code Author Update time

using Plots
inspectdr()
(x, y) = (["a", "b", "c"], [1, 5, 15])
p = scatter(["a", "b"], ["q", "r"], ms = 8, legend = false, tickfontsize = 20)
annotate!(["a", "b"], ["r", "q"], [text("ar", :top, :left, 50), text("bq", :bottom, :right, 20)])

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