Created
August 20, 2017 08:34
-
-
Save Axect/4d0ba7f6c4f2e78419d9e8d6c6e2dcb3 to your computer and use it in GitHub Desktop.
Gadfly Tutorial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Gadfly, DataFrames | |
X = 0:0.01:2pi | |
Y = sin.(X); | |
df = DataFrame(X=X, Y=Y) | |
pl = plot(df, x=:X, y=:Y, Geom.line, Guide.title("Gadfly Tutorial")) | |
draw(SVG("tutorial.svg", 1000px, 600px), pl) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment