I'm very new to gnuplot (I got hold of it yesterday) and am trying to see
whether it will be any use to me in my work. I *need* something that will
enable me to plot ellipsoids in 3D, based on their general equation :
1= k1.x^2 + k2.x.y + k3.y^2 + k4.z^2 + k5.x.z + k6.y.z
I'd be very greatful and forever indebted to anyone who can shed some light
on using gnuplot to do this, or (if gnuplot can't do it) who can tell me a
suitable (easily available) package that can cope with this. It's pretty
important. If possible, could you reply by email, and (if I get any...)
I'll repost any help I get if it's wanted.
Thanks very much in advance,
David
----------------------------------------------------------------------------
David Heggie | Dept. e-mail - heg...@scot.hw.ac.uk
Textiles Dept. | Heriot Watt e-mail - D.He...@hw.ac.uk
SCOT, Heriot Watt University | http://members.tripod.com/~heggied/
> I'm very new to gnuplot (I got hold of it yesterday) and am trying to see
> whether it will be any use to me in my work. I *need* something that will
> enable me to plot ellipsoids in 3D, based on their general equation :
>
> 1= k1.x^2 + k2.x.y + k3.y^2 + k4.z^2 + k5.x.z + k6.y.z
>
> I'd be very greatful and forever indebted to anyone who can shed some light
> on using gnuplot to do this, or (if gnuplot can't do it) who can tell me a
> suitable (easily available) package that can cope with this. It's pretty
> important. If possible, could you reply by email, and (if I get any...)
> I'll repost any help I get if it's wanted.
gnuplot functions must be explicit, so you'll need to write the functions
as z(x,y). These will be multivalued, so you'll need to have separate
functions for each half.
Someone posted a command file a while back for 2D ellipses; I'll append it,
since it should be quite instructive for you.
Good luck,
Dick Crawford, aka rccra...@lanl.gov