How to change the color in a graph with one value (two params) in LTspice?

eetech00

Joined Jun 8, 2013
4,704
Rht-click on the trace label in the waveform viewer and the Expression Editor will popup. You can select the color with the "Default Color" pulldown menu selector.
 

Thread Starter

Kevil

Joined Jun 28, 2020
224
Rht-click on the trace label in the waveform viewer and the Expression Editor will popup. You can select the color with the "Default Color" pulldown menu selector.
It doesn't work. I have one trace label but two charts (two params...).
 

eetech00

Joined Jun 8, 2013
4,704
It doesn't work. I have one trace label but two charts (two params...).
Place each trace in its own pane, and select a color.

-or-

The colors are selected and displayed in the order set in the "Color Preferences" settings.
You'll need to set these up like you want. But the order will be used as defaults for all graphs.
 

Thread Starter

Kevil

Joined Jun 28, 2020
224
How !?! It's a param function i.e. two automatic graphs for one trace label.

Code:
.step param NTC list 3.6k 105k
.tran 1m
.meas TRAN Vout FIND V(vout) AT=1m
 

eetech00

Joined Jun 8, 2013
4,704
Or another way is...
According to your stepping parameter, you have set two steps.
So...in the waveform window, select the label and append @1 to the label name.
This sets the trace to represent step 1.
Then "add' a new trace, and do the same but append @2.
Now you will have two independent traces and can select the color for each.
You can keep both traces in the same pane or place in separate panes.
 
Last edited:

ericgibbs

Joined Jan 29, 2010
21,390
Hi @Kevil
In LTSpice
Tools menu on Top Bar
Select Colour preferences
Select Waveforms
Use colour Pallet, select the item you need to change, click apply etc

Ask if you need more details

E
EG 1751.png
 
Top