I am hoping someone can help me draw a combined spring-damper in circuitikz, similar to the existing spring and damper components, for use in representing a viscoelastic element.

    \draw (0,0)
    to[spring,*-] (1,0)
    to[damper,-*] (2,0);

circuitikz spring and damper

I imagine it looking something like the attached drawing.

combined spring-damper


1 Answer 1


I have added the new component (which, I admit, could be handsomer --- patches welcome) to the pre-release of circuitikz; you can get it and see the manual online here: https://circuitikz.github.io/circuitikz/

The component is something like this:

The correct image

and, more important, I added a sort-of howto on how to define new components.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .