[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51759] demo ("axis", 3) fails with gnuplot
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #51759] demo ("axis", 3) fails with gnuplot |
Date: |
Wed, 16 Aug 2017 02:35:36 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #1, bug #51759 (project octave):
I see the error, but Octave isn't freezing on my linux machine. (I don't
quite have the latest code because compiling is failing here at the moment.)
Typically the gnuplot toolkit pipe gets out of synch with this type of error.
Try the attached patch. It supplies missing labels as empty strings. This
seems to the most code efficient way of doing things.
Rik, can you think of any reason that the index k (in the patch) should wrap
around to the front and start repeating labels? I would think that simply
leaving the last ones blank is the better result.
Also, the error message gives array notation
labels(1): out of bound 0
when labels was indexed as a cell, i.e., labels{k++}. My first instinct was
to grep for "labels(" or "labels (". It didn't take long to figure out
"labels{" was the syntax to search for. It might be convenient for the user
to see round or curly bracket depending on the use that caused the error.
(file #41539)
_______________________________________________________
Additional Item Attachment:
File name: octave-missing_gnuplot_axis_labels-djs2017aug16.patch Size:1 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51759>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #51759] demo ("axis", 3) fails with gnuplot, Avinoam Kalma, 2017/08/15
- [Octave-bug-tracker] [bug #51759] demo ("axis", 3) fails with gnuplot,
Dan Sebald <=
- [Octave-bug-tracker] [bug #51759] demo ("axis", 3) fails with gnuplot, Avinoam Kalma, 2017/08/16
- [Octave-bug-tracker] [bug #51759] demo ("axis", 3) fails with gnuplot, Avinoam Kalma, 2017/08/16
- [Octave-bug-tracker] [bug #51759] demo ("axis", 3) fails with gnuplot, Dan Sebald, 2017/08/16
- [Octave-bug-tracker] [bug #51759] demo ("axis", 3) fails with gnuplot, Dan Sebald, 2017/08/16
- [Octave-bug-tracker] [bug #51759] demo ("axis", 3) fails with gnuplot, Dan Sebald, 2017/08/16
- [Octave-bug-tracker] [bug #51759] demo ("axis", 3) fails with gnuplot, Avinoam Kalma, 2017/08/18
- [Octave-bug-tracker] [bug #51759] demo ("axis", 3) fails with gnuplot, Avinoam Kalma, 2017/08/19
- [Octave-bug-tracker] [bug #51759] demo ("axis", 3) fails with gnuplot, Avinoam Kalma, 2017/08/19
- [Octave-bug-tracker] [bug #51759] demo ("axis", 3) fails with gnuplot, Rik, 2017/08/23
- [Octave-bug-tracker] [bug #51759] demo ("axis", 3) fails with gnuplot, Dan Sebald, 2017/08/23