mirror of https://github.com/mpastell/Weave.jl
849 B
849 B
using Gadfly
x = linspace(0, 2π, 200)
plot(x=x, y = sin(x), Geom.line)
julia> x = linspace(0, 2π, 200)
linspace(0.0,6.283185307179586,200)
julia> plot(x=x, y = sin(x), Geom.line)
julia> y = 20
20
julia> plot(x=x, y = cos(x), Geom.line)
x = linspace(0, 2π, 200)
plot(x=x, y = sin(x), Geom.line)
y = 20
plot(x=x, y = cos(x), Geom.line)