LTspice: X-Axis Variable

Jan 25, 2016 10 Replies

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

formatting link
| 1962 | I love to cook with wine. Sometimes I even put it in the food.


...

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

formatting link

kevin

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

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

Thanks! ...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.

How do I know what expression to type in? Thank you!

Doesn't work. I get Error : undefined variable. It used to work but stopped some time ago.

I am running IV.

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).

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

I got it! Thank you all so much

Thanks. That explains the error.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required