Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import Plots
r = range(0.0, 1.0, length=512)
p = Plots.plot(
r,
x -> x^2 * (1 - x)^2,
)
Plots.png(p, "output2.png")
# time julia example2.jl
#
# real 0m19.878s
# user 0m18.231s
# sys 0m0.516s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment