2
$\begingroup$

I'm looking for a simple tool (preferably online or at least that works on Linux) to draw stencils. When teaching and creating notes for students, I often feel that it would make understanding in some topic much easier if I could draw stencils like the one below. But doing stencils like that by hand (with tools like Gimp of by typing code) can be very cumbersome.

Is there any tool specifically designed to make things like this easy?

enter image description here

$\endgroup$
1

3 Answers 3

1
$\begingroup$

I'd whip up something in LaTeX using TikZ (see for example Cremer's short tutorial, the full documentation is a real bear; or snoop around in TeX.stackexchange.com).

For standalone, I'd probably use something like xfig (for hand drawing) or asymptote (for "programming" a more complex figure). Under Linux, there probably are Mac (and even Windows) versions available.

$\endgroup$
1
$\begingroup$

Excel comes to mind. This took just a few seconds to make:

enter image description here

$\endgroup$
1
$\begingroup$

I've made some fairly nice graphics using Sage. I think that it uses matplotlib, at least partly, as a backend. It can render to a variety of image formats and supports LaTeX in labels.

Edited to add what the code referenced in the comment produces.

stencil

$\endgroup$
2
  • $\begingroup$ I use Sage, but I've never seen it used to generate stuff like what I want. Care to post a MWE? $\endgroup$
    – TomCho
    Aug 10, 2018 at 21:16
  • $\begingroup$ @TomCho The code in this github-gist generates your stencil: gist.github.com/knappa/d9e8bddb4b9e3fafcb1fc0cda7198d81 $\endgroup$
    – Adam
    Aug 10, 2018 at 21:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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