Electronic – way to include a legend in LTSpice graphs for a sweep variable

circuit-designltspicesimulation

I am using LTspice parametric sweeps to generate a series of different cases and plot waveforms and measured values. I have two sweep variables and 5-6 points for each variable. Now I want to see how my measured quantities (using .meas) vary with respect to the sweep variables.

Currently, when I want to figure out which line corresponds to which sweep variable value, I am looking at the colour preferences order. This becomes a bit troublesome when I have many sweep points.

Is there a way to include a legend in LTSpice graphs for a sweep variable?
Of course, I can export the data and use some other tool to do all the further analysis. But here I am wondering if there is a way to make it easier with LTspice itself. (for waveforms, the solution provided by @aconcernedcitizen is very useful to group the results and display separately. But for measured quantities it does not work.)

Best Answer

Took me a while to figure out but yes, you can do this!

Right click the plot window. Select View > Step Legend.

View > Select Steps will let you change which plots are shown.