broken gnuplot pipe with coloured scatter3 from octave

lynx.abraxas at freenet.de lynx.abraxas at freenet.de
Fri May 29 15:39:06 CDT 2009


Hello!


Because the thread below says it's a gnuplot issue I post this here as well:

In octave I'm having troubles with coloured sactter3. If I do:

x=rand(100,1)
y=rand(100,1)
z=rand(100,1)

scatter3 (x, y, z); 
scatter3 (x, y, z, [], 'b');
scatter3 (x, y, z, z);
scatter3 (x, y, z, 50);
all is fine (just the spotsize is not changed) but with:

scatter3 (x, y, z, 50, [], 's');
scatter3 (x, y, z, 50, []);

 I get this multiple times:
gnuplot> 0.148456192084311 0.601135888459943 0.284623384973014
         ^
         line 400: invalid command


gnuplot> e
         ^
         line 400: invalid command

with:

gnuplot_binary ("tee octave.gp | gnuplot ");

I get:

tee: standard output: Broken pipe
tee: write error

and some time later the gnuplot errors again.

Same problem with:

cat octave.gp | gnuplot

Inside gnuplot:

load "octave.gp"

 "#000000"lc rgb "#000000"lc rgb "#000000" ;
                                                                                                                         ^
         "octave.gp", line 3088: duplicated arguments in style specification


There's a thread about some similar issue:
https://www-old.cae.wisc.edu/pipermail/bug-octave/2007-May/002308.html
assuming it's a gnuplot problem but since the other scatter3 commands work I'm not sure about that.
I also sometimes get a proken pipe error when quitting less showing the 100 random numbers.
I've octave 3.0.5, gnuplot 4.3 patchlevel 0, LFS
octave.gp.bz2 is attached. I wonder why there are so many splot commands in it. It seems to me it's supposed to plot the data mutiple times.

Many thanks for any help or hints.

Lynx

-------------- next part --------------
A non-text attachment was scrubbed...
Name: octave.gp.bz2
Type: application/octet-stream
Size: 21164 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090529/ef32d481/attachment-0001.obj 


More information about the Help-octave mailing list