How to show on y-axis in plot other units than A or V, like Joule (J)?

Hi,

How to show on y-axis unit in J(Joule)?

I see that if I put 100uF in the plot I received an error:
image

I want to see something like this:
image

Capacitor energy is 1/2*C*V^2, and it appears that the 1/2 factor is missing.
To display the energy in Joule, you can modify the formula to 1/2*100µ*V(N36,GND)^2/1V^2*1J

2 Likes

Ok, i will try this by adding 1J at final in formula in plot. Thank You.

No worry, I am aware about this that energy of capacitor has also a factor of 1/2 in front. This time and this post I did not want to be about energy of capacitor formula, but more about how to show units J in plot.

Ok, its ok:

Another question: do you know if it is possible to change from nJ to 0uJ? Like 500nJ=0.5uJ.

I tried by changing the axis values:

Hm, I found that this ca be done like this, but is it correct?
I need to multiply also with 10^2:

1/2*1*I(L7)^2/1A^2*1J*10^2

If you need the scale to display in u instead of n for 500n, what you can do is to change Axis Setup. If you multiple by 10^2, you actually change the value by multiple it by 100.

Here is the example, if you can manage to show from nJ to uJ y-axis in the plot in order to show 0.5uJ not the equivalent 500nJ:
plot nJ to uJ.qsch (5.9 KB)

image

0.5uJ = 500nJ … what the problem?
Or you are saying you want the red cursor give 0.5uJ in uJ scaling?
Not sure why, sometime I can easily confuse with the questions.

Yes, two things:

  1. Y-axis should show the values in uJ. This is ok now, as you showed.
  2. The cursor value is not updated to uJ, but is maintained in nJ, though the y-axis is in uJ.

If it is the cursor, I don’t know of a way to change it. It appears to be fully automatic.

Ok then, understood.