I wasn't using interactive mode with IJulia. Putting 
plt[:show]()
at the end did the trick. 

On Friday, 20 November 2015 15:35:13 UTC+2, kleinsplash wrote:
>
> Thanks.. I still dont get a pop up though - it just says Plot(...) 
> [Finished in 7.4s]. Do you think I installed my ijulia-sublime incorrectly? 
>
> On Thursday, 19 November 2015 16:58:20 UTC+2, Tom Breloff wrote:
>>
>> Wrap your spy call: "display(spy(...))"
>>
>> On Thursday, November 19, 2015, Ashley Kleinhans <[email protected]> 
>> wrote:
>>
>>> I was wondering if someone could help me with a very basic question (as 
>>> a newbie on so many levels). I finally managed to get spy() working under 
>>> Gadfly, thanks to the good people at stack exchange. But I have to type 
>>> each line into terminal for it to pop up with a plot and even then I had to 
>>> be using Escher. 
>>>
>>> I think I am misunderstanding how to plot using an editor, I like vim 
>>> and sublime, everything builds - but nothing shows. Am I looking at the 
>>> wrong editors? this is an example output:
>>>
>>> using Gadfly
>>> M = sprand(300, 300, 0.1)  # generate a sparse matrix with density 0.1 
>>> of non-zeros
>>> M = full(M)
>>> spy(M)
>>>
>>> How do I make fancy plots using an editor? 
>>>
>>

Reply via email to