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

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

[Octave-bug-tracker] [bug #44978] gnuplot toolkit fails to recognize pro


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #44978] gnuplot toolkit fails to recognize problems with older gnuplot versions
Date: Fri, 01 May 2015 22:31:35 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

Follow-up Comment #11, bug #44978 (project octave):

Low priority is fine, but if it is easy to fix, I'd prefer addressing it
rather than have a big long list of bugs that people have to revisit that are
no longer fresh in one's mind once 4.0 is released, which will be a while.

I've attached a simple variation on the gnuplot version script that uses
redirection to capture the output, which in most cases isn't even needed.  Is
using redirection of the screen output a problem for Windows?  __gp_eval__.m
is quite simple--evaluates a gnuplot command and if gnuplot doesn't understand
it, the status comes back '1' rather than '0'.


>> __gnuplot_eval__ ("set object 1 rectangle")
ans = 0
>> __gnuplot_eval__ ("francisbacon")
ans =  1


Rather than a function __gnuplot_has_feature__ (), maybe it is easier to just
have a host of small functions __gnuplot_has_object__ (), etc.

>> __gnuplot_has_object__ ()
ans =  1


(file #33865, file #33866)
    _______________________________________________________

Additional Item Attachment:

File name: __gnuplot_eval__.m             Size:0 KB
File name: __gnuplot_has_object__.m       Size:0 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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