Public bug reported:

After updating to 16.04 some of my octave scripts broke because they use 
gnuplot to print and the default has become gnuplot5 which has compatibility 
problems with octave. This is a known problem upstream, see:
http://savannah.gnu.org/bugs/?42838

I found a workaround (if gnuplot4 is installed):
sudo update-alternatives --set gnuplot /usr/bin/gnuplot4-x11

This sets the gnuplot symbolic link to point to gnuplot4 instead of
gnuplot5 system wide which isn't ideal in the scenario someone needs to
use gnuplot5 elsewhere. I checked for a way to configure the gnuplot
path for octave but didn't see anything immediately obvious. Maybe I
missed something.

I suppose changing the PATH variable for octave might be a workable
patch. I figure this but probably won't get fixed before the release,
but I wanted to post it so anyone who runs into the problem will see the
work around.

** Affects: octave (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: regression-release xenial

** Attachment added: "demonstration script (sudo used for update-alternatives)"
   
https://bugs.launchpad.net/bugs/1568647/+attachment/4632093/+files/test_print.sh

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1568647

Title:
  Octave print() incompatible with gnuplot5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/octave/+bug/1568647/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to