Hi,

I have a newbie question. When trying to plot using Winston on Linux, I get:

julia> x = linspace(-10, 10, 1000)

julia> using Winston

julia> plot(x, sin(x))
error during Tk callback: 
ERROR: no method Rectangle(Int64,Int64,Int64,Int64)
 in PlotContext at /home/hasanm/.julia/Winston/src/Winston.jl:117
 in _context1 at /home/hasanm/.julia/Winston/src/Winston.jl:1177
 in exterior at /home/hasanm/.julia/Winston/src/Winston.jl:1195
 in interior at /home/hasanm/.julia/Winston/src/Winston.jl:1683
 in compose at /home/hasanm/.julia/Winston/src/Winston.jl:1747
 in page_compose at /home/hasanm/.julia/Winston/src/Winston.jl:1763
 in page_compose at /home/hasanm/.julia/Winston/src/Winston.jl:1751
 in anonymous at /home/hasanm/.julia/Winston/src/tk.jl:45
 in draw at /home/hasanm/.julia/Tk/src/tkwidget.jl:251
 in configure at /home/hasanm/.julia/Tk/src/tkwidget.jl:246
 in init_canvas at /home/hasanm/.julia/Tk/src/tkwidget.jl:406
 in anonymous at /home/hasanm/.julia/Tk/src/tkwidget.jl:385
 in jl_tcl_callback at /home/hasanm/.julia/Tk/src/tkwidget.jl:145
FramedPlot(...)

Same thing on Ubuntu 12.04 and 13.10. Winston installation was successful. 
Any ideas?

Thanks,
Milos

Reply via email to