<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Could you support LaTeX native?</title><link>https://sourceforge.net/p/gnuplot/discussion/5924/thread/f6c5b4af7d/</link><description>Recent posts to Could you support LaTeX native?</description><atom:link href="https://sourceforge.net/p/gnuplot/discussion/5924/thread/f6c5b4af7d/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 03 Aug 2019 16:16:05 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gnuplot/discussion/5924/thread/f6c5b4af7d/feed.rss" rel="self" type="application/rss+xml"/><item><title>Could you support LaTeX native?</title><link>https://sourceforge.net/p/gnuplot/discussion/5924/thread/f6c5b4af7d/?limit=25#4983/f808/3b41/e89b/3ce0</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;I have successfully run your code just now with &lt;a class="" href="https://github.com/lkiesow/thesis-latex/blob/master/tex/latex/gnumeric/gnuplot-lua-tikz.sty" rel="nofollow"&gt;gnuplot-lua-tikz.sty&lt;/a&gt;. &lt;br/&gt;
But I still think support latex like matplotlib is more flexible and convenient. &lt;/p&gt;
&lt;p&gt;For example, we can use Gaston.jl in Jupyter. However, if i want the effect of LaTeX, Jupyter cannot display it.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://github.com/ConAntares/Problems/blob/master/2019/20190804a.png" rel="nofollow"&gt;Gaston in Jupyter&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Sincerely,&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lu Niu</dc:creator><pubDate>Sat, 03 Aug 2019 16:16:05 -0000</pubDate><guid>https://sourceforge.net2742514154dd323011ba1fdb7dac2afb4f8898a5</guid></item><item><title>Could you support LaTeX native?</title><link>https://sourceforge.net/p/gnuplot/discussion/5924/thread/f6c5b4af7d/?limit=25#4983/f808/3b41/e89b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This is the latex style for for gnuplot. As with all latex packages, you must install it in your latex directory tree.  If you build gnuplot yourself, the "make install" operation will install it along with the other support pieces.   If you installed gnuplot from a package prepared elsewhere the &lt;code&gt;*.sty&lt;/code&gt; file should have been included.  &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ethan Merritt</dc:creator><pubDate>Sat, 03 Aug 2019 16:03:20 -0000</pubDate><guid>https://sourceforge.net8690d0c354a912c1977be3756323c9cb9b6066b1</guid></item><item><title>Could you support LaTeX native?</title><link>https://sourceforge.net/p/gnuplot/discussion/5924/thread/f6c5b4af7d/?limit=25#4983/f808/3b41</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Your code cannot work with the error:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;LaTeX Error: File gnuplot-lua-tikz.sty' not found.
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I also think the "automated wrapper function" is more convenient.&lt;br/&gt;
I hope that the next version can include it.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lu Niu</dc:creator><pubDate>Sat, 03 Aug 2019 12:22:56 -0000</pubDate><guid>https://sourceforge.netebcbf911c26b660adddb43f155d8410b538d746f</guid></item><item><title>Could you support LaTeX native?</title><link>https://sourceforge.net/p/gnuplot/discussion/5924/thread/f6c5b4af7d/?limit=25#4983/f808/c94d</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you very very much!!!&lt;/p&gt;
&lt;p&gt;I am using Gastion.jl recently, the main issue is that its support for windows is not very good. &lt;br/&gt;
I sincerely, hope that Gunplot can merge more features of modern programming language. because I found that my classmates and other young people rarely use Gnuplot, they tend to use more simple and convient solutions, such as Matplotlib, Plots.jl etc..&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lu Niu</dc:creator><pubDate>Wed, 03 Jul 2019 16:35:06 -0000</pubDate><guid>https://sourceforge.net30dffa1b555802dd0437b4eabb87b615dca5902c</guid></item><item><title>Could you support LaTeX native?</title><link>https://sourceforge.net/p/gnuplot/discussion/5924/thread/f6c5b4af7d/?limit=25#4983/f808</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;PyGnuplot is available here&lt;br/&gt;
&lt;a href="https://pypi.org/project/PyGnuplot/" rel="nofollow"&gt;https://pypi.org/project/PyGnuplot/&lt;/a&gt;&lt;br/&gt;
I have not used Julia myself so I can make no recommendations, but two possibilities are&lt;br/&gt;
&lt;a href="https://github.com/mbaz/Gaston.jl" rel="nofollow"&gt;https://github.com/mbaz/Gaston.jl&lt;/a&gt;&lt;br/&gt;
&lt;a href="https://github.com/gcalderone/Gnuplot.jl" rel="nofollow"&gt;https://github.com/gcalderone/Gnuplot.jl&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Mathplotlib invokes latex2png to produce an image.  You could do the same thing from gnuplot, although there is no automated wrapper function for it.   For example the following sequent of commands will display a TeX equation on your screen from inside a gnuplot session. I show the same TeX example as the mathplotlib documentation you linked.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;wrap(TeXstring) = '\begin{document} '.TeXstring.' \end{document}'
title = '\TeX\ is Number $\displaystyle\sum_{n=1}^\infty\frac{-e^{i\pi}}{2^n}$'
set print 'eq.tex'
print wrap(title)
unset print
!latex2png eq
!display eq.png
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Of course this requires previous installatio nof latex2png and ImageMagick (for the "display" command).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ethan Merritt</dc:creator><pubDate>Wed, 03 Jul 2019 15:55:42 -0000</pubDate><guid>https://sourceforge.net2ec4c979248af0a36dc812239f1ff7afd9807680</guid></item><item><title>Could you support LaTeX native?</title><link>https://sourceforge.net/p/gnuplot/discussion/5924/thread/f6c5b4af7d/?limit=25#4983</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks a lot for your response,&lt;/p&gt;
&lt;p&gt;Matplotlib can also demonstrate LaTeX effect directly with &lt;code&gt;plt.rc('text', usetex=True)&lt;/code&gt;(Details on &lt;a href="https://matplotlib.org/users/usetex.html" rel="nofollow"&gt;https://matplotlib.org/users/usetex.html&lt;/a&gt;). I wish that Gnuplot can also use LaTeX macros and display LaTeX effect in its GUI directly.&lt;/p&gt;
&lt;p&gt;It is cumbersome for users to generate .tex file and compile it if they want LaTeX effect.&lt;/p&gt;
&lt;p&gt;Another suggestion is that could you make the Gnuplot package/extension vision for Python and Julia? Use Gnuplot in calculation program is more convenient than export data and load data in Gnuplot.&lt;/p&gt;
&lt;p&gt;Sincerely,&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lu Niu</dc:creator><pubDate>Wed, 03 Jul 2019 06:57:26 -0000</pubDate><guid>https://sourceforge.net8718ccfac4fb7cfa40705d34fe325e6d9210c135</guid></item><item><title>Could you support LaTeX native?</title><link>https://sourceforge.net/p/gnuplot/discussion/5924/thread/f6c5b4af7d/?limit=25#b843/8cdd/c9fb</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I am not familiar with julia, GR,  and/or mathtex, but from searches online searches I gather that calling mathtex spawns a latex interpreter to produce a dvi or png  file, which is then re-imported as an image.   You could do that in gnuplot also but it is a lot more work than using the built-in enhanced text mode and it would probably produce worse results because you would lose the scalability of the font and associated vectors.&lt;/p&gt;
&lt;p&gt;Can we go back to exactly what you need that you aren't finding?   Is the issue that you want to use LaTeX macros like \gamma rather than typing the character 'γ'?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ethan Merritt</dc:creator><pubDate>Tue, 02 Jul 2019 22:26:57 -0000</pubDate><guid>https://sourceforge.net6728b8c938fc4d48e8a5313dfc821a9cbd563e0a</guid></item><item><title>Could you support LaTeX native?</title><link>https://sourceforge.net/p/gnuplot/discussion/5924/thread/f6c5b4af7d/?limit=25#b843/8cdd</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks a lot for your response.&lt;/p&gt;
&lt;p&gt;I often use &lt;code&gt;set terminal cairolatex standalone&lt;/code&gt; to generate the tex file.&lt;br/&gt;
and I have to compile it to get the graphic I want.&lt;/p&gt;
&lt;p&gt;I hope that Gnuplot can display LaTeX effect directly without that compilation process like its enhanced model.&lt;br/&gt;
I suggest that you can make a function like &lt;code&gt;mathtex(string)&lt;/code&gt; in GR.jl to determine what do I want to do with LaTeX.&lt;/p&gt;
&lt;p&gt;Please forgive my weak English.&lt;/p&gt;
&lt;p&gt;Sincerely,&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lu Niu</dc:creator><pubDate>Tue, 02 Jul 2019 07:24:05 -0000</pubDate><guid>https://sourceforge.net6170dedad48dd475da95b6b8e1ce310f69063d6c</guid></item><item><title>Could you support LaTeX native?</title><link>https://sourceforge.net/p/gnuplot/discussion/5924/thread/f6c5b4af7d/?limit=25#b843</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;There are multiple LaTeX terminals already.&lt;br/&gt;
My favorite is tikz, but you might find that another one suits your need better.&lt;br/&gt;
What are your requirements?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ethan Merritt</dc:creator><pubDate>Mon, 01 Jul 2019 16:51:16 -0000</pubDate><guid>https://sourceforge.net6d0c9c2b6aa95d1a902058f2e15d9fbb5e3c2824</guid></item><item><title>Could you support LaTeX native?</title><link>https://sourceforge.net/p/gnuplot/discussion/5924/thread/f6c5b4af7d/?limit=25#0dfc</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;use "set term epslatex standalone" is very cumbersome and inefficient.&lt;br/&gt;
Could you support for LaTeX native in next version?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lu Niu</dc:creator><pubDate>Mon, 01 Jul 2019 15:42:42 -0000</pubDate><guid>https://sourceforge.net67977ae391a895a22bdbc21a5c363c210351f236</guid></item></channel></rss>