Sat 13 Oct 2012 01:55:10 PM UTC, comment #1:
I'm running Gnuplot Version 4.6 patchlevel 1 on MaxOS X.
I tried your example. I got a warning form gnuplot (below) and an empty plot window.
Subsequent plots do not show up, so either the pipe is down or gnuplot is down.
To determine if the pipe is broken or gnuplot crashed, I ran the commands below from gnuplot.
And gnuplot exited with "Abort trap: 6"
Thus, this looks like a gnuplot error. Can you confirm?
|
Thu 04 Oct 2012 08:05:56 PM UTC, original submission:
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.
|