1

I use LaTex regularly, but I'm new to the whole drawing thing. I'm writing my thesis about neural networks, and to illustrate a spike I want to plot something like this: spike In this case I'm not interested in the numbers, I just want something that resembles the form qualitatively.

My question: is there a way to qualitatively draw plots? Like describing the general form (in this case some thing like "0.5-1.5: gaussian shaped; 1.5-5: Lennard-Jones shaped" or something) or do I have to plot the specific formula?

  • 4
    No, there is no such way (you have functions that relies in some parameters). But you can try to define a piecewise function with variable parameters using PGFPlots, for example. Anyway, whatever you want to draw with TikZ/PGF (or similars) requires mathematics, i.e., numbers. – osjerick Jul 08 '16 at 00:53
  • 1
    @audiophiel Could a solution with no formulas but with some coordinates (Bézier curve) be good for you? – CarLaTeX Jul 11 '16 at 09:00
  • @CarLaTeX thats what i basically did, but with inkscape (vector drawing tool) and imported it as .pdf_tex, so at least the labels etc are nicely rendered. – SeverinBang Jul 11 '16 at 09:16
  • 1
    @audiophiel It could be done also with tikz, if you're interested I'll try to do it – CarLaTeX Jul 11 '16 at 10:54
  • @CarLaTeX thats very kind of you! but thanks, im good with my solution, and already looked into Bézier curves via tikz, so i think i'm able to do the upcoming graphs there by my self:) – SeverinBang Jul 11 '16 at 14:59
  • @audiophiel would you like to share your solution here so this question can have a complete answer? – Dai Bowen Sep 21 '16 at 20:18
  • @DaiBowen i've just drawn the graph in inkscape, sorry no fancy latex solution... – SeverinBang Sep 21 '16 at 20:27
  • 4
    I'm voting to close this question as off-topic because it is solved in the comments. – Mensch Dec 28 '17 at 07:44
  • For curve sketching have a look at the way metapost does this and the implementation in tikz via the hobby library. – Andrew Swann Dec 28 '17 at 10:37

0 Answers0