Maybe because you are missing factors of 2pi and (2pi)^2in your formula for
y?

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

> 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