Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LTspice: X-Axis Variable

3,264 views
Skip to first unread message

Jim Thompson

unread,
Jan 25, 2016, 1:06:26 PM1/25/16
to
In LTspice, is there a way to change the X-Axis variable?

In PSpice I can do a PWL simulation, then change the X-Axis variable
(in Probe) to be a voltage within the circuit, thus displaying
hysteresis.

I can't find a similar function in LTspice.

...Jim Thompson
--
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| San Tan Valley, AZ 85142 Skype: skypeanalog | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |

I love to cook with wine. Sometimes I even put it in the food.

kevin93

unread,
Jan 25, 2016, 1:27:02 PM1/25/16
to
On Monday, January 25, 2016 at 10:06:26 AM UTC-8, Jim Thompson wrote:
> In LTspice, is there a way to change the X-Axis variable?
>
> In PSpice I can do a PWL simulation, then change the X-Axis variable
> (in Probe) to be a voltage within the circuit, thus displaying
> hysteresis.
>
> I can't find a similar function in LTspice.
>
> ...Jim Thompson
> --
...

Right click on the X-axis of the plot and enter the plotted quantity in the dialog box

http://www.linear.com/solutions/1829

kevin

M Philbrook

unread,
Jan 25, 2016, 5:09:36 PM1/25/16
to
In article <2tocab11b9gh0a3km...@4ax.com>, To-Email-Use-
The-Enve...@On-My-Web-Site.com says...
>
> In LTspice, is there a way to change the X-Axis variable?
>
> In PSpice I can do a PWL simulation, then change the X-Axis variable
> (in Probe) to be a voltage within the circuit, thus displaying
> hysteresis.
>
> I can't find a similar function in LTspice.
>
> ...Jim Thompson

I think what you want is to tag one node with a
mouse down, leving the mouse down drag the pointer
to another node, then release the mouse down. This will give you a chart
of scale between those two points.

Unless you are talking something else?

Jamie

Jeroen Belleman

unread,
Jan 25, 2016, 5:56:03 PM1/25/16
to
On 25/01/16 19:06, Jim Thompson wrote:
> In LTspice, is there a way to change the X-Axis variable?
>
> In PSpice I can do a PWL simulation, then change the X-Axis variable
> (in Probe) to be a voltage within the circuit, thus displaying
> hysteresis.
>
> I can't find a similar function in LTspice.
>
> ...Jim Thompson
>

Left-click on the X-axis, type the expression for your signal
on the 'quantity plotted' line in the dialog that comes up,
click OK.

Jeroen Belleman

Jim Thompson

unread,
Jan 26, 2016, 10:46:06 AM1/26/16
to
Thanks!

olivia...@gmail.com

unread,
May 24, 2020, 3:01:18 AM5/24/20
to
How do I know what expression to type in? Thank you!

Steve Wilson

unread,
May 24, 2020, 6:08:19 AM5/24/20
to
Doesn't work. I get Error : undefined variable. It used to work but stopped
some time ago.

I am running IV.

Steve Wilson

unread,
May 24, 2020, 6:21:16 AM5/24/20
to
Doesn't work. I get Error : undefined symbol.

It used to work but apparently stopped some time ago.

I and running IV.

Phil Hobbs

unread,
May 24, 2020, 8:47:30 AM5/24/20
to
Works for me in the latest versions of both IV and XVII. It has to be a
circuit variable, e.g. I(R1).

<https://www.analog.com/en/technical-articles/ltspice-parametric-plots.html>

Cheers

Phil Hobbs

--
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC / Hobbs ElectroOptics
Optics, Electro-optics, Photonics, Analog Electronics
Briarcliff Manor NY 10510

http://electrooptical.net
http://hobbs-eo.com

olivia...@gmail.com

unread,
May 24, 2020, 8:54:55 AM5/24/20
to
I got it! Thank you all so much

Steve Wilson

unread,
May 24, 2020, 9:08:12 AM5/24/20
to
Phil Hobbs <pcdhSpamM...@electrooptical.net> wrote:

>> Doesn't work. I get Error : undefined symbol.
>>
>> It used to work but apparently stopped some time ago.
>>
>> I and running IV.
>>
> Works for me in the latest versions of both IV and XVII. It has to be a
> circuit variable, e.g. I(R1).
>
> <https://www.analog.com/en/technical-articles/ltspice-parametric-plots.ht
> ml>
>
> Cheers
>
> Phil Hobbs

Thanks. That explains the error.

0 new messages