« Return to Thread: broken gnuplot pipe with coloured scatter3 from octave

broken gnuplot pipe with coloured scatter3 from octave

by lynx.abraxas :: Rate this Message:

Reply to Author | View in Thread

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


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Gnuplot-info mailing list
Gnuplot-info@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-info

 « Return to Thread: broken gnuplot pipe with coloured scatter3 from octave