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

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

[Octave-patch-tracker] [patch #7847] Make gnuplot Qt terminal default fo


From: Ben Abbott
Subject: [Octave-patch-tracker] [patch #7847] Make gnuplot Qt terminal default for GUI/IDE via environment variable
Date: Sat, 22 Sep 2012 14:20:30 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/536.26.14 (KHTML, like Gecko) Version/6.0.1 Safari/536.26.14

Follow-up Comment #5, patch #7847 (project octave):

To avoid the gnuplot error, I suggest not defining GNUTERM=qt before checking
that gnuplot supports the qt terminal.  The gnuplot toolkit includes a private
function __gnuplot_has_terminal__.m which will detect if gnuplot includes
support for the qt terminal.


        .scripts/plot/private/__gnuplot_has_terminal__.m


To make use of this for the gui, we may need to make the function public.  In
any event, if it is in your path, all you need to do is


        has_qt = __gnuplot_has_terminal__ ("qt");


Ben


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?7847>

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




reply via email to

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