Here is the code (sorry I forgot to join it ) : 

using PyPlot
n = 1:2:99 # odd integers from 1 to 99
loglog(n, abs(sinecoef(f, n)), "bo")
xlabel(L"n")
ylabel(L"Fourier sine coefficient $|b_n|$")
title(L"Sine series convergence for $f(x) = 0.5 - |x - 0.5|$")
loglog(n, 1 ./ n.^2, "b--")
legend([L"|b_n|", L"1/n^2"])

Le mardi 26 avril 2016 08:23:57 UTC+2, Henri Girard a écrit :
>
> Hi,
> It's really a pain to make julia (ijulia) works on native ubuntu 16.04. I 
> tried conda env but after adding modules in julia I got a lot of errors 
> specially with pycall pyplots ans scipy.
> Can you advice me to have a good stable working julia (ijulia) on ubuntu, 
> even if I must use conda doesn't matter. I am on this since few days and 
> it's getting worse !
> I even format my disk to make a fresh install... But I think it's worse ...
> Best regards,
> Henri
>

Reply via email to