Fri 13 May 2016 11:03:37 AM UTC, comment #1:
print.m has been modified to handle color/mono. This was already being done for the OpenGL toolkits. To reduce the complexity of the code, the same approach as applied to Gnuplot.
http://hg.savannah.gnu.org/hgweb/octave/rev/5b9618f4f841
The correct fix is to remove the "mono" argument from calls to gnuplot_drawnow.
If someone doesn't get to it first, I'll take a look over the weekend.
|
Fri 13 May 2016 08:42:38 AM UTC, original submission:
The debugging method of
drawnow (TERM, FILE, MONO, DEBUG_FILE)
no longer works, giving the following errors:
The reason for the error is that the _gnuplot_drawnow_.m routine has one fewer input arguments than the calling C code. Here is how I've fixed the problem and I added a comment near the calling code to illustrate the number of input arguments.
There no longer appears to be use of 'mono' in the _gnuplot_drawnow_ routine, so perhaps the intension was to remove the 'mono' and reduce the number of options sent into the routine. That would mean that the print_figure() mono variable is unused.
|