SimplePlots.jl
SimplePlots.text — Methodtext(string, args...; kw...)Create a PlotText object wrapping a string with font info, for plot annotations. args and kw are passed to font.
SimplePlots.PlotText — TypeWrap a string with font info
SimplePlots.font — Methodfont(args...)Create a Font from a list of features. Values may be specified either as arguments (which are distinguished by type/value) or as keyword arguments.
Arguments
family: AbstractString. "serif" or "sans-serif" or "monospace"pointsize: Integer. Size of font in pointshalign: Symbol. Horizontal alignment (:hcenter, :left, or :right)valign: Symbol. Vertical aligment (:vcenter, :top, or :bottom)rotation: Real. Angle of rotation for text in degrees (use a non-integer type)
Examples
julia> font(8)
julia> font(family="serif",halign=:center,rotation=45.0)