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: Rik
Subject: [Octave-bug-tracker] [bug #33291] Gnuplot does not work anymore due to wrong code in __gnuplot_get_var__.m
Date: Mon, 16 May 2011 16:23:57 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

Follow-up Comment #3, bug #33291 (project octave):

Well this is a promising line to debug.  Do cell arrays and comma separated
lists work at all on the Windows build?

Code to test:


s = { "Hello" ; " World" ; "!"};
str = strcat (s{:})
Answer should be
str = Hello World!


If this doesn't work, then there is something deeply wrong with the Octave
build you have.  If it does work then you will need to poke around in
__gnuplot_get_var__.m to discover why strcat is not being given the correct
input arguments.

I would try this:


dbstop ("__gnuplot_get_var__", 113)
plot (1:10)


which will bring you to a "debug>" prompt at line 113.
Check the value of str before the call to strcat


disp (str)
which on a Linux system yields
{
  [1,1] = x11

}


Also check the type


typeinfo (str)


which should be cell.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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