Hi GnuPlot Forum!
I am new to this forum and realitively new to Gnuplot so please be
patient...
I would like to read in a parametric surface description from an ASCII file
that has x, y and z columns, but I am not sure how I can do it.
Consider a torous example, invoked from withing Gnuplot :
splot [-pi:pi][-pi:pi] cos(u)*(cos(v)+3), sin(u)*(cos(v)+3), sin(v).
Instead, I would like to read in the x,y and z values from a file and
display the surface. My understanding is,
(although I maybe wrong) that Gnuplot internally computes the size of x,y,
and z arrays, and based on the array index figures out how to connect the
vertices.
If this is right, after reading x,y and z from my file, do I have specify
size of each array? Or should I also pass u and v parameters?
If I am wrong, what would be the appropriate way to store the data. I could
not find any examples or tutorial on this
specific task.
Thank you
Gregory Miecznik
--
View this message in context: http://www.nabble.com/Parametric-surface-read-from-a-file-tp16561674p16561674.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|