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

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

[Octave-bug-tracker] [bug #33291] Gnuplot does not work anymore due to w


From: fidelcastro
Subject: [Octave-bug-tracker] [bug #33291] Gnuplot does not work anymore due to wrong code in __gnuplot_get_var__.m
Date: Wed, 11 May 2011 14:48:51 +0000
User-agent: Opera/9.80 (Windows NT 6.1; U; de) Presto/2.8.131 Version/11.10

URL:
  <http://savannah.gnu.org/bugs/?33291>

                 Summary: Gnuplot does not work anymore due to wrong code in
__gnuplot_get_var__.m
                 Project: GNU Octave
            Submitted by: transsilvanien
            Submitted on: Mi 11 Mai 2011 14:48:51 GMT
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.0
        Operating System: Other

    _______________________________________________________

Details:

I myself - and others http://permalink.gmane.org/gmane.os.cygwin/126369 - have
experienced that gnuplot does not work anymore.

E.g. when I executed imshow() from octave the function failed to complete due
to the following coding error in __gnuplot_get_var__.m:


-- in octave /usr/share/octave/3.4.0/m/plot/__gnuplot_get_var__.m
     the line 
          str = strcat(str {:});     ---------latest version
          str = strcat(str, {:});    ---------previous version


The previous version is correct, which I have fixed manually.

After this imshow() still fails at this line in the same file:


## Strip out EOLs and the continuation character "|"
   141     str(str=="\n") = "";
   142     str(str=="\r") = "";


I have repleced this code with


## Strip out EOLs and the continuation character "|"
    str = strrep(str, "\n", "");
    str = strrep(str, "\r", "");


and now imshow() works for me again. I think these fixes should be
incorporated into the stable version. Thanks.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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