Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 2
    Seriously: Why? I'm sure someone will show up and help you (or I'll do it, once I find the time), but are you sure this is the right approach? I'd just calculate the values in Lua (if using LuaLaTeX) or Python/Matlab/... and write them into a file that I can import into my document. Commented yesterday
  • 1 ("correct values?"). I don't understand the question. Just test the MWE; all the x-values ​​I tested, produced the correct result. 2 ("another program"). Well, we're in the LaTeX forum here. And we can just do this here without having to discuss it. If I want to do the same thing with Python, etc., I can go to the Python forum for that. Commented yesterday
  • PS: I'm not doing / researching this because I have to it or because I'm being paid for it; I'm doing it for enjoyment of the matter. Similarly, I'm allowed to fly to Australia in a zeppelin. Of course, there are other ways to get there. But this doesn't need to be discussed every time... Commented yesterday
  • 3
    I wasn't trying to say "don't do this", I was merely pointing at the fact that other programs or programming languages are more suited for the task. Commented yesterday
  • The dilemma between LaTeX vs Lua and another languages (Python, R, etc.) is somewhat outdated these days, since they can be combined easily with LaTeX in a single file using a package, or a internal conversion, rendering all at once, without the hassle of manually running external programs and then copying and pasting the result into the LaTeX text. So while pure questions about other languages are off-topic, answers or solutions using them as tools into a LaTeX document are on topic, IMHO (of course, unless the OP want to exclude them, for whatever reason). Commented yesterday