Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #2720

bug when using pslatex

Newsgroups comp.graphics.apps.gnuplot
Date 2015-01-21 03:03 -0800
Message-ID <9ffe14f7-de9d-471e-a98d-2f8120d9366e@googlegroups.com> (permalink)
Subject bug when using pslatex
From "hugocoolens@gmail.com" <hugocoolens@gmail.com>

Show all headers | View raw


I noticed with the following strange Gnuplot behaviour which very much looks like a bug to me:

I checked this for three versions of Gnuplot:
G N U P L O T Version 5.1 patchlevel 0    last modified 2015-01-20 
G N U P L O T Version 4.6 patchlevel 0    last modified 2012-03-04 
G N U P L O T Version 4.7 patchlevel 0    


Start Gnuplot en enter the following commands:
set terminal pslatex size 25cm,17cm
set output 'test.tex'
plot x**2

When you have a look at the resulting test.tex file, the following three lines at the end of the file are missing:

\end{picture}%
\endgroup
\endinput

When running "set output 'test.tex'" and "plot x**2" a second time, a file test.tex without this error is produced.

I also noticed that when I put the three commands in a batch-file test.gp and run 
them as gnuplot <test.gp the file produced is also error free.

kind regards,
Hugo Coolens

p.s. I remember having noticed this behaviour years ago when using wxmaxima
which uses Gnuplot for graphics

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar | Unroll thread


Thread

bug when using pslatex "hugocoolens@gmail.com" <hugocoolens@gmail.com> - 2015-01-21 03:03 -0800
  Re: bug when using pslatex Karl <mail.kfr@gmx.net> - 2015-01-21 12:15 +0100
    Re: bug when using pslatex "hugocoolens@gmail.com" <hugocoolens@gmail.com> - 2015-01-21 06:53 -0800
      Re: bug when using pslatex Karl <mail.kfr@gmx.net> - 2015-01-21 16:39 +0100
        Re: bug when using pslatex "hugocoolens@gmail.com" <hugocoolens@gmail.com> - 2015-01-22 00:32 -0800
          Re: bug when using pslatex Karl <mail.kfr@gmx.net> - 2015-01-22 10:52 +0100

csiph-web