2*pi*R*C does not have the same value as z*s.

On Thu, Jun 16, 2016 at 10:36 AM, Henri Girard <henri.gir...@gmail.com>
wrote:

> Angular pulsation with pyplot works as whishes :
>
> using PyPlot
> plt=PyPlot
> R=40;L=1/pi*360E-2;C=1/(pi*360E+2);ω=1/(sqrt(L*C))
> fr=linspace(0,2ω)
> y=abs(1./(1+im.*fr.*R.*C-fr.*fr.*L.*C));
> fig = figure("Angle")
> plt.plot(omega, y);
> plt.ylabel("z");
> plt.xlabel("w");
> ax = plt.gca() # get current axes
> ax[:set_xlim]((50,500));
> ax[:set_ylim]((0,10));
> plt.grid("on")
> plt.title("Pulsation angulaire");
> round(ω)
> I am doing it with plots ...
> But I wish frequency resonance with plots (or even pyplot because I didn't
> make it work properly).
>
> Le jeudi 16 juin 2016 09:22:12 UTC+2, Henri Girard a écrit :
>
>> Hi,
>> When I make my plots I have two plots, but before I hadn't this...
>> w is the resoning frequency, but it should appear at 0 (zéro) not at
>> extrem ?
>> Any help, I already ask for help with pyplot, this link :
>> https://groups.google.com/forum/#!topic/julia-users/EJSvutfdEus, which
>> works fine for angular pulsation, but I want frequency resonance with Plots
>> because I guess I can make more beautifull graphic (anyway I don't know
>> well PyPlot or Plots). I succeeded once with pyplot but after an error I
>> couldn't find it back !
>> Bad luck :)
>> Kind regards
>> HG
>>
>> using Plots
>> pyplot(reuse=true)
>> z=10;u=0.02;s=0.02;w=1/(2*pi*sqrt(u*s))
>> f=linspace(-30,30)
>> y=abs(1./(1+im.*f.*z.*s-f.*f.*u.*s));
>> #fig = figure("Angle")
>> plot(f, y)
>>
>

Reply via email to