help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

broken pipe with coloured scatter3


From: lynx . abraxas
Subject: broken pipe with coloured scatter3
Date: Fri, 29 May 2009 22:35:37 +0200
User-agent: Mutt/1.5.17 (2007-11-01)

Hello!


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

Attachment: octave.gp.bz2
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]