¿ªÔÆÌåÓý

Discrete data points in plot view


 

My array of PWL data (time value pairs) appears points (that optionally can be made visible) and being connected by line pieces.

Since these are discrete sample points I¡¯d rather see them as points only or as a pulse train of vertical lines of height corresponding to the amplitude. Is this possible?

¡ª
Christoph


 

¿ªÔÆÌåÓý

I think you have to export the data to Excel or similar to plot in those ways.

======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only

Rayleigh, Essex UK

I hear, and I forget. I see, and I remember. I do, and I understand. Xunzi (340 - 245 BC)


On 2023-07-08 16:52, Christoph wrote:

My array of PWL data (time value pairs) appears points (that optionally can be made visible) and being connected by line pieces.

Since these are discrete sample points I¡¯d rather see them as points only or as a pulse train of vertical lines of height corresponding to the amplitude. Is this possible?

¡ª
Christoph





 

Christoph,

For time-domain and frequency-domain plots, I think LTspice only connects the dots with lines or curves.? I think there is no other option.

I have seen .STEPped simulations where LTspice's plot window showed vertical lines, but this was actually annoying because it did not plot what I actually wanted to see.? So I have forgotten now how that happened.? I did not see it as something useful, at the time.??Anyway, I do not believe there is any option to make it do that, at least not when plotting waveforms vs. time.

I agree with John that you probably need to turn to another plotting program (e.g., Excel).

Also, FYI, even if your PWL data has discrete time points, it is likely that LTspice simulated between those time points.? Even if you could make LTspice (or Excel) plot only the simulated time points as dots or vertical lines, there would likely be values at times between the points of your PWL data.? This is just how SPICE has to work.? There are times when it needs to simulate between the raw data.? That cannot be changed.

So, if you used Excel, you could also filter out those time values that don't correspond to your PWL file's raw data.

Andy