# Hello World ## Introduction to Julia presentation tool * See [MathSeminar.jl](https://github.com/terasakisatoshi/MathSeminar.jl) for more details. --- # How do I create this slideshow ? 1. create document of Literate.jl format, say `example.jl` 2. just run the following julia script ```julia using Remark s=Remark.slideshow("example.jl", "pres", ) Remark.open(s) ``` --- # Some equations Here is an inline fraction: $\frac{1}{2}$ And some identities in display mode: $$ e^{i\pi} + 1 = 0 $$ $$ \sum_{n=0}^\infty \alpha^n = \frac{1}{1-\alpha} $$ you can make matrix like $$ R(\theta)=\begin{bmatrix} \cos\theta & -\sin\theta \\\\ \sin\theta & \cos\theta \end{bmatrix} $$ --- # Plots: PyPlot backend ```julia # 描画バックエンドを PyPlot に切り替えるよ using Plots pyplot() x = -π:0.01:π plot(x, sin.(x)) ```
--- # Plots: GR backend ```julia using Plots gr() x = -π:0.01:π p1 = plot(x, cos.(x)) p2 = plot(x, sin.(x)) plot(p1, p2, layout=(2,1)); ``` ``` "/tmp/jl_54HlKf/build/saved.png" ```  --- # You can display image ```julia using Images colorview(RGB, rand(3,100,100)) ```
--- ```julia using TestImages testimage("camera") ```
# Thank you --- *This page was generated using [Literate.jl](https://github.com/fredrikekre/Literate.jl).*