[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #37505] Using set(gca, "xticklabel", a_string)
From: |
Rhys Ulerich |
Subject: |
[Octave-bug-tracker] [bug #37505] Using set(gca, "xticklabel", a_string) takes down gnuplot |
Date: |
Thu, 04 Oct 2012 20:05:56 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Ubuntu/10.04 Chromium/10.0.648.151 Chrome/10.0.648.151 Safari/534.16 |
URL:
<http://savannah.gnu.org/bugs/?37505>
Summary: Using set(gca, "xticklabel", a_string) takes down
gnuplot
Project: GNU Octave
Submitted by: rhysu
Submitted on: Thu 04 Oct 2012 08:05:56 PM GMT
Category: Plotting with gnuplot
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.2
Operating System: GNU/Linux
_______________________________________________________
Details:
I've been mistakenly passing a string to the "xticklabel" axis property a la
x = linspace(0,1,100); y = sin(x); plot(x,y);
set(gca,"xticklabel",sprintf("%14.8f ",get(gca,"xtick")));
where, you'll notice, the string is definitely not what get(gca, "xticklabel")
would return. This causes a "*** stack smashing detected ***: gnuplot
terminated " message from gnuplot 4.6 patchlevel 0, kills the pipe, and
leaves further plot(...) commands spitting forth "broken pipe" messages.
I expect the set command should fail but not take down the pipe.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37505>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #37505] Using set(gca, "xticklabel", a_string) takes down gnuplot,
Rhys Ulerich <=