# web based solution for create plot from LaTeX

We know there are some solutions for rendering LaTeX mathematical content on the web, for example MathJax. Is there a similar (free) way to create plot for mathematical formula which is written as LaTeX? For example plots of ƒ(x) versus x. Open source libraries are preferred (I need to use it in an application).

Note: I do not mean graph-theory graphs.

• Is something like Highcharts or Plotly what you're after? They have nothing to do with LaTeX of course. Apr 22 '17 at 8:25
• I think using Gnuplot or similar software inside your application could be better to use. It does not rely on online apis then where you probably would have some call limitations. Apr 22 '17 at 8:28
• @epR8GaYuh But GNUplot needs plain text notation. I mean if you ask that to plot x=\cos u+\frac{1}{2}, it cannot and you have to ask to plot x = cos(u) + 1/2 instead. Apr 22 '17 at 10:39

• +upvote. I could not open linked address. But the word function grapher help me a bit. Apr 22 '17 at 10:54
• linked page does not understand all mathematical controls. For example it does not understand frac{}{}. Apr 30 '17 at 6:26
• I think that it's possible to write a script that writes TeX code, and then using TikZ/PGFPlots, you could write programatically the graph, with the software save the file to where you want, and then just insert an <img> from the path that the script created. Doing that wouldn't be very hard. You just need to do some text parsing to open the file programatically, print code (text) into it, and then save it. Apr 22 '17 at 9:16