[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #49223] gnuplot with -depslatexstandalone fail

From: anonymous
Subject: [Octave-bug-tracker] [bug #49223] gnuplot with -depslatexstandalone fails to produce axis labels
Date: Sat, 1 Oct 2016 18:21:26 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0

Follow-up Comment #17, bug #49223 (project octave):

If useful, I can add to #15 from observation of several plots:

(1) first occurence of \gplbacktext is to globally define the macro
\gplbacktext as an empty function; this appears once in every *.tex output:


(this is certainly redefined somewhere, somehow).

(2) the latest occurence in every file is just that macro alone on the line
preceding the macro that includes the pdf whith the plot (but without the

(3) the rest of occurences is one for every subplot in the figure, and it
always comes after "\gplgaddtomacro"; the complete line is:


Therefore, in a file like the test I provided, it appears three times, and
only the 2nd is needed to be changed. In a figure with 4 plots, it appears 6
times, and the 4 occurences with the pattern "gplbacktext{%" are to be
modified to get the correct result.

The following naïve implementation works for me (on Linux):

graphics_toolkit gnuplot
title('Plot title should be on top')
legend('single legend')
text(0,20,'internal text at position (0,20)')
xlabel('X Label')
ylabel('Y Label')
system(['sed -i "s,gplbacktext{%,gplfronttext{%," ' fname '.tex']);
system(['pdflatex ' fname '.tex']);


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]