Do you have the octave forge stuff installed? If so, you just need to use
fill3(X1,Y1,Z1,C,X2,Y2,Z2,C,...) where Xn, Yn and Zn are the corners of the
nth face.
Hope this helps,
Joe
On Thursday 23 June 2005 11:37, A.J.Delaney at brighton.ac.uk wrote:
> Hey all,
> I was wondering does anyone have a simple script for drawing a cube in
> octave or gnuplot (same engine). I've read the octave manual
> (http://www.octave.org/doc/octave_18.html#SEC137) which is pretty thin
> on 3d plotting and I've googled. Unfortunately I've run out of time to
> figure this out. Anyone have gnuplotfoo?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!