August 2018
Beginner
282 pages
5h 51m
English
Another plotting package available is PyPlot. PyPlot is one of the standard Python visualization libraries and is directly accessible from Julia. We can take this small script to produce an interesting visualization:
#Pkg.add("PyPlot")
using PyPlot
precipitation = [0,0,0,0,0,0,0,0,0,0,0.12,0.01,0,0,0,0.37,0,0,0,0,0.01,0,0,0,0.01,0.01,0,0.17,0.01,0.11,0.31]
date = collect(1:31)
fig = figure(1, figsize=(4, 4))
plot(date, precipitation, ".")
title("Boston Precipitation")
xlabel("May 2013")
ylabel("Precipitation")
The resultant output in Jupyter may look like what's shown in the following screenshot:

Again, we have Julia ...
Read now
Unlock full access