Hi Naman, This is actually an error in the plot. The plot is shifted by 2*pi on its frequency axis as it is has the wrong axis label.
On Sunday, February 6, 2022 at 4:59:46 AM UTC+11 Naman Nimmo wrote: > Hi, > > This is not an error, per se, as the frequency is needed to be plotted in > Hz at times. > Although I suppose there should be an option to allow both Hz and rad/sec > for frequency, and rad / deg for phase. It is up to the user which one to > choose. > If you know how to allow both, using an optional argument, please feel > free to raise a pull request. > > Best, > > > On Sat, Feb 5, 2022 at 11:34 AM joe tusek <[email protected]> wrote: > >> I'm a new user of the package and wanted to check transfer function >> outputs between my circuit simulator and some other control simulation >> package. It appears that outputs from bode_plot >> (sympy.physics.control.control_plots) are in rad/s for frequency, which is >> the natural unit for control analysis. The graph produced by bode_plot has >> its frequency axis shown in Hz, but analysis and comparison to other >> programs suggest that it should be labelled rad/s. >> >> Is this an error, or is there some switch somewhere in the package that >> sets units for outputs to Hz and degrees, rather than radians and rad/s? >> >> I have a work around by handling graphing, just would like to use the >> built in functions where possible. Also would like the make use of the >> initial and final exponent, in the units of the graphing output. >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sympy" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sympy/80adfc05-80d6-49e3-a975-20b16eead1cen%40googlegroups.com >> >> <https://groups.google.com/d/msgid/sympy/80adfc05-80d6-49e3-a975-20b16eead1cen%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/cfecbb1f-19ef-4b47-b949-4dc2a5de62edn%40googlegroups.com.
