Hello,
first, I had to move the line:
gangoffourplot(P,tf(1))
after the line, where you define P. This plot works fine.

Next, I can reproduce that 
stepplot(CLs)
doesn't work. But it does not work on Julia 0.4.6 either, so this problem 
is not related to
Julia 5.0 RC2.

Uwe, Ubuntu 14.04, 64 bit

On Wednesday, August 17, 2016 at 11:38:29 AM UTC+2, Henri Girard wrote:
>
> Using 0.5 RC2, this morning I couldn't get the second plot, the first is 
> ok, but the second doesn't display, and worse even in julia console.
> I will try the regression test 
>
> using ControlSystems, Plots
> gangoffourplot(P,tf(1))
>
> J = 2.0
> b = 0.04
> K = 1.0
> R = 0.08
> L = 1e-4
>
> # Create the model transfer function
> s = tf("s")
> P = K/(s*((J*s + b)*(L*s + R) + K^2))
> # This generates the system
> # TransferFunction:
> #                1.0
> # ---------------------------------
> # 0.0002s^3 + 0.160004s^2 + 1.0032s
> #
> #Continuous-time transfer function model
>
> # Create an array of closed loop systems for different values of Kp
> CLs = TransferFunction[kp*P/(1 + kp*P) for kp = [1, 5, 15]];
>
> # Plot the step response of the controllers
> stepplot(CLs);
> # Add legend. This is specific to the PyPlot back-end, see documentation 
> for more info.
> PyPlot.legend(["Kp = 1", "Kp = 5", "Kp = 15"])
>
> Le vendredi 12 août 2016 14:38:20 UTC+2, Tony Kelman a écrit :
>>
>> I have just tagged and uploaded release candidate 2 for Julia version 
>> 0.5.0. Binaries are available from
>>
>>
>> https://s3.amazonaws.com/julialang/bin/linux/x64/0.5/julia-0.5.0-rc2-linux-x86_64.tar.gz
>>  
>>
>> https://s3.amazonaws.com/julialang/bin/linux/x86/0.5/julia-0.5.0-rc2-linux-i686.tar.gz
>>  
>>
>> https://s3.amazonaws.com/julialang/bin/osx/x64/0.5/julia-0.5.0-rc2-osx10.7+.dmg
>>  
>>
>> https://s3.amazonaws.com/julialang/bin/winnt/x64/0.5/julia-0.5.0-rc2-win64.exe
>>  
>>
>> https://s3.amazonaws.com/julialang/bin/winnt/x86/0.5/julia-0.5.0-rc2-win32.exe
>>  
>> https://s3.amazonaws.com/julialang/bin/checksums/julia-0.5.0-rc2.sha256 
>> https://s3.amazonaws.com/julialang/bin/checksums/julia-0.5.0-rc2.md5 
>> For gpg signatures (with this key http://julialang.org/juliareleases.asc) 
>> of the Linux tar.gz binaries, append .asc to the filename.
>>
>> (arm binaries are taking a while to build, I will upload them later - we 
>> will also put links to this release candidate on the web site soon)
>>
>> The primary thing this does not yet include that we do plan on getting 
>> into the final 0.5.0 release is proxy support for the package manager. A 
>> preliminary version of that has been merged to master but still has some 
>> build system issues that need to be worked out. We will put out a release 
>> candidate 3 next week that will hopefully have this resolved, along with 
>> any other major bug fixes that happen by then. If all goes well and no 
>> major blocking issues come up after that, RC3 could possibly be the last 
>> release candidate and promoted to final, but we will see how it goes next 
>> week. Follow the progress at 
>> https://github.com/JuliaLang/julia/issues/17418 and please report any 
>> issues you find.
>>
>> -Tony
>>
>>

Reply via email to