1

I just installed Julia-Studio 0.4.4 on windows 7. And added the package Winston to try out plotting. So I did as below and got "FramedPlot(...)" output, no graphical figure.

using Winston
x=randn(1,1000);
plot(x)
FramedPlot(...)

What should I do to make it work? Any additional library?

dexterdev
  • 537
  • 4
  • 22
  • 1
    Not sure, but you might need to call `display`, as in `plot(x) |> display` – jverzani Apr 12 '14 at 20:05
  • @jverzani : Thank you, it worked. Please make your comment content to answer section. But when I was working in Linux with raw julia prompt, no 'display' command is required. That was the confusion. – dexterdev Apr 14 '14 at 03:15

1 Answers1

2

I ran into this same problem. Looks like it was answered in the comments, but for future readers, you need to call display():

using Winston
display( plot( randn(1,1000) ) )
ntaggart
  • 577
  • 1
  • 5
  • 11
  • I have the same problem and using `display()` still gives me a `FramedPlot(...)`. I run Julia on `Ubuntu 12.04` and on terminal. – sodiumnitrate May 31 '14 at 10:06