first example

My Example

Here we will try to create a literate example that is also code

First we import our module

using TrialDocs, Plots

Now we use the functions in the module Specifically the testargskw function

test_args_kw(1, "tomorrow", ones(2,2), keyword = "my keyword")
The function arguments are
1
tomorrow
[1.0 1.0; 1.0 1.0]
The keyword argument is
my keyword

Math

We can test some math

\[ \frac{1}{2}\]

Plotting

Now we can test plotting

x = randn(3)
scatter(x, grid = true, gridstyle = :dash, gridalpha = 0.25, framestyle = :box, label = false, title = "simple graph", xlabel = "horizontal axis", ylabel = "vertical axis")
1.0 1.5 2.0 2.5 3.0 -0.5 0.0 0.5 1.0 simple graph horizontal axis vertical axis
Tip

maybe?


This page was generated using Literate.jl.