Hello, I have a two part question.
(1) I am trying to plot engineering waveforms, where the y-axis or x-axis or both may be in engineering notation. Is there a way to automatically format the axes to show the values in engineering format (e.g., uV for y-axis in this example code attached. or ms (milli second) for time axis.
(2) I am calculating the power and energy using the given voltage and current values. However, the plot for the energy (w variable) is not formatted correct and the x-axis information is not matching the x-axis information for the previous three plots. Is there a way to fix that? I realise that its plotting the indice as x-axis variable and somehow that needs to be scaled back to time information. I have tried various things but unable to fix it.
Any help would be greatly appreciated regarding the two plotting issues. Thanks