# Math In Plots.jl

#1

could someone please show me how to set a simple equation into a plot, say \sqrt{\frac{a}{b}} ?

#2
julia> using Plots, LaTeXStrings

julia> x = rand(10); y = rand(10);

julia> s = L"\sqrt{\frac{a}{b}}";

julia> ann = [(x[i],y[i],s) for i ∈ 1:10];

julia> scatter(x, y, title = s, label = s, xaxis = s, yaxis = s, annotations = ann)