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

Rafael Laboissiere rafael at laboissiere.net
Wed Nov 18 16:38:06 UTC 2015


Control: tags -1 confirmed upstream

* Mike Miller <mtmiller at 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



More information about the Pkg-octave-devel mailing list