On Sun, Aug 16, 2015 at 16:11:05 -0400, Ben Abbott wrote:
Does the attached patch look ok?
Does it work for you? I think all that's missing is another error in
case gnuplot is not available (which is now possible).
function set_graphics_toolkit ()
if (isempty (available_graphics_toolkits ()))
error ("no graphics toolkit available for plotting");
elseif (! strcmp ("gnuplot", graphics_toolkit ()) ...
&& ! octave_config_info ().features.OSMESA)
if (! any (strcmp ("gnuplot", available_graphics_toolkits ())))
error ("no graphics toolkit available for offscreen plotting");