[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: Rik
Subject: [Octave-bug-tracker] [bug #49223] gnuplot with -depslatexstandalone fails to produce axis labels
Date: Sun, 2 Oct 2016 13:55:26 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

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

I don't othink we should assume that all installs will have sed (think
Windows) which is why it would be preferable to have Octave modify the
generated file, or resolve this a different way.

Also, changing the layer property in Octave has other effects besides just the
tics.  Try

close all
plot (1:10, 'o-b', 'linewidth', 5)
grid on
set (gca, 'linewidth', 5, 'gridalpha', 1)
## At this point, the line overlays the grid
set (gca, 'layer', 'top')
## Now the grid overlays the line

We need to preserve that.

I experimented with removing the lines

    ## FIXME: The gnuplot help says that "layerdefault" should work
    ##        for set border too, but it fails for me with gnuplot 4.2.5.
    ##        So, use "back" instead.
    fputs (plot_stream, "set border back;\n");

and the layer property still worked correctly for me.

However, it didn't solve the issue of the axis labels not appearing when the
layer is set to "bottom".  So it appears that there are two things still to be
done.  1) Clean up this FIXME which no longer appears necessary, although I
can only test back to gnuplot 4.6.6, and 2) Replace 'gplbacktext{%' in the
generated tex file.



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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