How do I make a custom pictorial element? #39
Answered
by
cdelker
msk-nightly
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
cdelker
Jun 12, 2024
Replies: 1 comment 4 replies
-
|
You can add images as an element using
Note width and height are relative to schemdraw's drawing unit, the length of a standard resistor. For more complicated applications involving anchors, see the documentation and an example here. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
msk-nightly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

You can add images as an element using
ElementImage. For simple image elements, the image can just be added to a schemdraw drawing directly:elm.ElementImage('myimage.png', width=2, height=2)Note width and height are relative to schemdraw's drawing unit, the length of a standard resistor.
For more complicated applications involving anchors, see the documentation and an example here.