help-octave
[Top][All Lists]
Advanced

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

Re: gnuplot_x11 driver with octave.app/gnuplot.app on Mac


From: Thomas Treichl
Subject: Re: gnuplot_x11 driver with octave.app/gnuplot.app on Mac
Date: Sat, 04 Aug 2007 19:03:12 +0200
User-agent: Thunderbird 2.0.0.5 (Macintosh/20070716)

John W. Eaton schrieb:
On  4-Aug-2007, Thomas Treichl wrote:

| also drawnow.m overwrites the term variable to "aqua" - a first workaround would | be that you manually set "x11" in line 124 of | <Octave.app>/Contents/Resources/share/octave/2.9.13/m/plot/drawnow.m | | term = "x11"; | | Don't know if I have the time today to work on this problem but meanwhile you | should be able to work with this and X11. I prepare a patch and then send this | to the list.

The following patch to drawnow.m has already been made in the Octave
CVS.  Does it fix the problem for you?

jwe

Right John, it fixes the first problem. So the second problem in __gnuplot_version__.m could be solved in a way like this (cf. line 33)

  pattern = "gnuplot\\s*([0-9]+\\.[0-9]+)\\s*[^\\s]*\\s*([^\\s]*)";

I can also give you my debug output if you prefer another implementation like that one (this is the output of the original file - I set the keyboard statement in line 35),

  debug> status, output, pattern, d1, d2, d3, d4, matches
  status = 0
  output = /Applications/GnuPlot.app/Contents/Resources/lib:
  gnuplot 4.2 patchlevel 0

  pattern = ^[^\s]*\s*([0-9]+\.[0-9]+)\s*[^\s]*\s*([^\s]*)
  d1 = [](1x0)
  d2 = [](1x0)
  d3 = {}(1x0)
  d4 = {}(1x0)
  matches = {}(1x0)

Thomas


reply via email to

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