I have a user defined variable statement in my schematic:
.param R = 10
I use this variable to set a resistor value for resistor R1.
R1
vs--|---|--Gnd
{R}
The variable works as expected in the schematic. Now I want to reference this
variable in a plot expression.
I tried this:
V(vs)/R1(R)
and this
V(vs)/R1{R}
But it does not work.
Can anyone explain how to reference a user defined variable in a plot
expression?
Thanks
.param R = 10
I use this variable to set a resistor value for resistor R1.
R1
vs--|---|--Gnd
{R}
The variable works as expected in the schematic. Now I want to reference this
variable in a plot expression.
I tried this:
V(vs)/R1(R)
and this
V(vs)/R1{R}
But it does not work.
Can anyone explain how to reference a user defined variable in a plot
expression?
Thanks