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

[Pkg-octave-devel] Bug#805295: Bug#805295: octave: Plot to file without X display does not work



Control: tags -1 confirmed upstream

* Mike Miller <mtmiller@debian.org> [2015-11-18 05:24]:

On Mon, Nov 16, 2015 at 18:43:46 +0100, Djalil Chafai wrote:

consider the following code stored in file plotest.m

# begin graphics_toolkit('gnuplot') set(0, 'defaultfigurevisible', 'off'); plot(sin(1:100)); print("plotest.jpg", "-djpg") # end

bash> export DISPLAY= bash> octave plotest.m

The image file plotest.jpg contains a fully black figure. It should not.

Agreed, this is due to an interaction between Octave and gnuplot v5.

[snip]

Upstream bug report for fixing interaction with gnuplot v5 is at https://savannah.gnu.org/bugs/?42838.

Thanks for the replay, Mike. I am hereby tagging this bug report accordingly.

Rafael



Reply to: