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

Djalil Chafai djalil at free.fr
Mon Nov 16 17:43:46 UTC 2015


Package: octave
Version: 4.0.0-5+b1
Severity: normal

Dear Maintainer,

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.

Best wishes.

-- System Information:
Debian Release: 8.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages octave depends on:
ii  libamd2.3.1                        1:4.2.1-3
ii  libarpack2                         3.1.5-3
ii  libasound2                         1.0.28-1
ii  libblas3 [libblas.so.3]            1.2.20110419-10
ii  libc6                              2.19-18
ii  libcamd2.3.1                       1:4.2.1-3
ii  libccolamd2.8.0                    1:4.2.1-3
ii  libcholmod2.1.2                    1:4.2.1-3
ii  libcolamd2.8.0                     1:4.2.1-3
ii  libcxsparse3.1.2                   1:4.2.1-3
ii  libfftw3-double3                   3.3.4-2
ii  libfftw3-single3                   3.3.4-2
ii  libfltk-gl1.3                      1.3.3-3
ii  libfltk1.3                         1.3.3-3
ii  libfontconfig1                     2.11.0-6.3
ii  libfreetype6                       2.5.2-3
ii  libgcc1                            1:4.9.2-10
ii  libgl1-mesa-glx [libgl1]           10.6.3-1
ii  libglpk36                          4.55-1
ii  libglu1-mesa [libglu1]             9.0.0-2
ii  libgomp1                           4.9.2-10
ii  libgraphicsmagick++-q16-12         1.3.23-1
ii  libgraphicsmagick-q16-3            1.3.21-4
ii  liblapack3 [liblapack.so.3]        3.5.0-4
ii  liboctave3v5                       4.0.0-5+b1
ii  libopenblas-base [liblapack.so.3]  0.2.12-1
ii  libosmesa6                         10.6.3-1
ii  libportaudio2                      19+svn20140130-1
ii  libqhull6                          2012.1-5
ii  libqrupdate1                       1.1.2-1
ii  libqscintilla2-12v5                2.9+dfsg-9
ii  libqt4-network                     4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqt4-opengl                      4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqtcore4                         4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libqtgui4                          4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1
ii  libsndfile1                        1.0.25-9.1
ii  libstdc++6                         5.2.1-22
ii  libumfpack5.6.2                    1:4.2.1-3
ii  libx11-6                           2:1.6.2-3
ii  octave-common                      4.0.0-5
ii  texinfo                            5.2.0.dfsg.1-6

Versions of packages octave recommends:
ii  default-jre-headless  2:1.7-52
ii  gnuplot-x11           4.6.6-2
ii  libopenblas-base      0.2.12-1
ii  octave-info           3.8.2-4
ii  pstoedit              3.62-2+b1

Versions of packages octave suggests:
ii  octave-doc      3.8.2-4
pn  octave-htmldoc  <none>

-- no debconf information



More information about the Pkg-octave-devel mailing list