Setting defaults and font arguments

Source code Author Update time

using Plots
gaston()
default(titlefont = (20, "times"), legendfontsize = 18, guidefont = (18, :darkgreen), tickfont = (12, :orange), guide = "x", framestyle = :zerolines, yminorgrid = true)
plot([sin, cos], -2π, 2π, label = ["sin(θ)" "cos(θ)"], title = "Trigonometric Functions", xlabel = "θ", linewidth = 2, legend = :outertopleft)
Gnuplot Produced by GNUPLOT 5.4 patchlevel 2 -1.0 -0.5 0.0 0.5 1.0 -5.0 -2.5 0.0 2.5 5.0 x θ sin(θ) cos(θ) sin(θ) sin(θ) cos(θ) cos(θ) Trigonometric Functions

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