8
\$\begingroup\$

I'm using LTspice IV (4.23I) and I am using the .step command to vary the capacitance of a capacitor, so that I can see multiple waveforms for a single probe.

If there is only one probe, then the stepping values have different colors (see below).

Ltspice single probe different step colors

My issue is that if I add another probe, the stepped waveform(s) generated from a single probe become the same color. (See blue waveforms below)

Ltspice single probe same step colors

How can I keep them as different colors, while also keeping multiple plobes on the same plot?

Circuit for reference:

ltspice circuit

\$\endgroup\$
  • 4
    \$\begingroup\$ I have given up looking for a solution, I think you can't. Maybe the new XVII has something, but I doubt it. \$\endgroup\$ – PlasmaHH Dec 1 '16 at 15:26
  • 3
    \$\begingroup\$ I have been using LTSpice almost daily for 4+ years and don't know of any way around this. Just to make sure - you know you can create multiple panes in one plot window, right? If there is one trace per pane, stepped traces will stay different colors. This is what I do to produce a plot with many traces over a stepped parameter. \$\endgroup\$ – user49628 Dec 1 '16 at 17:05
  • 1
    \$\begingroup\$ @user49628 Yeah I have been putting them in different panes, I was hoping for a trick or hack or something so they can be overlayed on each other. \$\endgroup\$ – Bort Dec 1 '16 at 17:56
  • 2
    \$\begingroup\$ I'm voting to close this question because there is no possible way to do what the user is asking. \$\endgroup\$ – Voltage Spike Dec 28 '16 at 20:44
  • 3
    \$\begingroup\$ @laptop2d That doesn't make the question off-topic. It just makes the answer very simple: "you can't". If you think that's correct, write it as an answer. \$\endgroup\$ – duskwuff Dec 31 '16 at 5:45
1
\$\begingroup\$

Unfortunately, as mentioned in the comments, there is no way to do this in LTSpice. I recommend plotting the stepped waveform in one plot plane and then plotting the second waveform in a second plot plane. This way you can still see the relationship between the two waveforms while having the stepped waveforms be various colors.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.