[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fltk epslatex print problem
From: |
Ben Abbott |
Subject: |
Re: fltk epslatex print problem |
Date: |
Sun, 20 May 2012 13:01:37 -0400 |
On May 20, 2012, at 9:41 AM, Grant Stephens wrote:
> Good day.
>
> I have just got 3.6.1 working on ubuntu through the via the ppa method but I
> am having trouble with printing(saving) a plot. I need to use the fltk
> backend but when trying the following code the .tex file does not seem to
> work.
>
> graphics_toolkit fltk
> plot(rand(3))
> print -depslatex foo
>
> This generates two files, the foo.tex and foo-inc.eps, however the foo.tex
> does not refer to the foo-inc.eps. Using gnuplot the tex file uses the (In
> gnuplot's case) foo.eps. Is this my system causing the problem? Oh, I need to
> use fltk for the way it handles the fill plot type.
>
> On a similar topic, how does one set the default backend to fltk?
>
> Thanks in advance.
There's a bug report on this problem at the link below.
https://savannah.gnu.org/bugs/index.php?36349
The bug report includes a patch which fixes the problem in a arguably ugly way.
Ben