Created
May 27, 2014 17:04
-
-
Save aviks/e749db08b64f266d83a7 to your computer and use it in GitHub Desktop.
Gadfly bug
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 | |
using DataFrames | |
using Compose | |
using Datetime | |
x = Array(Any,100); | |
for i=100:-1:1 | |
x[100-i+1] = string(today()-day(-1*(100-i))) | |
end | |
y = sort!(rand(100)*100) | |
df = DataFrame(x=x,y=y,signal=repmat(["Signal"],100)) | |
p = plot(df,x="x",y="y",color="signal",Geom.line,Theme(key_position=:right,colorkey_swatch_shape=:circle)) | |
draw(SVG("Test.svg",8inch,6inch),p) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment