> * a function that plots the Bode diagram. Once it's possible to (1)
> draw logarithmic axes, (2) align plots on a graphic array so that both
> horizontal axes scales match perfectly, and maybe (3) select the
> divisions on the axes (it would be nicer to have divisions each 15 or
> 45 degrees than each 20 or 50), the construction of the bode()
> function will be trivial.

Hi cousteau,
let me share my Bode plot function I have written by deeply inspiring to the
link I previously pointed out. I hope that can help you.
It takes advantage of matplotlib plotting capabilities, so it should meet
your requirements now.
Unfortunately, I wrote it long ago so it is very unoptimized, even though it
produces an output plot that I like and I consider usable for my purposes.
It may be optimized, but I never tried to understand where the bottlenecks
are, or maybe moved to using numpy arrays, I don't know if it may be faster.
Let me know if you want to improve it, we may have a fruitful discussion :)

Maurizio

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Attachment: bode.sage
Description: Binary data

Reply via email to