4
\$\begingroup\$

I want to plot a Bode diagram. LTSpice automatically print it in function of frequency. I would like to multiply the frequency for 2*π, in order to obtain the angular frequency.

How can I modify the x-axis quantities?

\$\endgroup\$
1
  • \$\begingroup\$ Can't you just put 2*pi*F instead of F in the x expression box (I'm a microcap user and I know this works). \$\endgroup\$
    – Andy aka
    Dec 7 '21 at 16:26
8
\$\begingroup\$

Maybe this is ugly, but it seems to provide the results you want:

enter image description here

The default ac sweep, which gives the result in Hz is commented at the bottom. Also note that the number of steps (100) appears in different places for the two commands.

enter image description here

\$\endgroup\$
1
  • 2
    \$\begingroup\$ Unfortunately the X-axis for .AC simulations is fixed and cannot be changed. I think this has to do with avoiding the confusion of parametric plots with log axes, and whatnot, but a checkbox to select frequency or pulsation wouldn't have hurt. So @devnull's answer is one way to do it. It will be a tad slower, since it has to calculate the .OP for every iteration. You could also divide the value of C (in this case) by \$2\pi\$, but if you have many states, or delays, you're out of luck. \$\endgroup\$ Dec 7 '21 at 17:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.