Hi folks,
I'm experiencing problems trying to use Winston under Julia 0.3.9 in my 
Linux machine. I just grabbed from the internet an exemple that
should work, something like the code I paste at the end of the post. This 
is similar to somthing simpler I tried to use, to no avail. The problem 
comes
with the last sentence: the add(p,s,a,b,l), where the REPL keeps 
complaining add does not exist :(
Any way to sort this problem? How it comes actually that it was suppossed 
to exist, and now it does not exist anymore? 
BTW I've found very little documentation on using Winston under Julia :(
Thanks for your help.

p = FramedPlot(
         aspect_ratio=1,
         xrange=(0,100),
         yrange=(0,100))

 n = 21
 x = linspace(0, 100, n)
 yA = 40 .+ 10randn(n)
 yB = x .+ 5randn(n)

 a = Points(x, yA, kind="circle")
 setattr(a, label="a points")

 b = Points(x, yB)
 setattr(b, label="b points")
 style(b, kind="filled circle")

 s = Slope(1, (0,0), kind="dotted")
 setattr(s, label="slope")

 l = Legend(.1, .9, {a,b,s})

 add(p, s, a, b, l)

 

Reply via email to