octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #48484] gnuplot: printing figure into file res


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #48484] gnuplot: printing figure into file results in mostly black image (Windows)
Date: Wed, 13 Jul 2016 16:10:03 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

Follow-up Comment #5, bug #48484 (project octave):

Again, I am no gnuplot expert, but the differences between the two eps files
you provided look almost exactly like the differences between eps files I see
on Debian with Octave 3.8.2 (before the logic was added in
http://hg.savannah.gnu.org/hgweb/octave/rev/8990b8c4f00a).

So it's almost like the version detection logic is not working for you and
it's not using the right feature for your version of gnuplot. But only on this
one machine.

There is a way to dump the intermediate gnuplot commands, I think it was
mentioned on the other bug report about text color. You could do this on the
machine that shows this error


drawnow ("postscript", "junk.ps", 0, "foo.gp");


and check whether the "set terminal" string near the top of the resulting file
contains "set terminal postscript color enhanced" or just "set terminal
postscript enhanced". The latter is incorrect for gnuplot 5 and explains why
you have the plot area filled with a black rectangle.

If that's the case, then someone needs to help debug why the scripts are not
detecting the version of gnuplot correctly. Does this work for you on Windows
and give a gnuplot version string?


>> addpath (fullfile (octave_config_info ("fcnfiledir"), "plot", "util",
"private"));
>> __gnuplot_version__ 
ans = 5.0.3


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48484>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]