I found out that the code works when I use IJulia, but not when I run the 
command: julia file.jl.

This is weird indeed ...

Τη Τετάρτη, 26 Νοεμβρίου 2014 9:05:32 π.μ. UTC-5, ο χρήστης Steven G. 
Johnson έγραψε:
>
>
>
> On Wednesday, November 26, 2014 12:45:09 AM UTC-5, David Smith wrote:
>>
>> My up-to-date version of Matplotlib won't plot NaNs either.
>>
>
> That's weird; it works fine for me in Matplotlib 1.4.0.
>
> In any case, you can always zero out the NaN values in W via:
>     W[isnan(W)] = 0
> before plotting. 
>

Reply via email to