Splines

Kearan Mc Pherson kearan.mcpherson at gmail.com
Wed Oct 1 04:26:02 CDT 2008


Hi

I plot a 3D graph using two data.dat files like this :

  d1 = load graph.dat ;
 d2 = load graph2.dat ;
 d1 = sortrows (d1);
 d2 = sortrows (d2);

 x = unique ([d1(:,1); d2(:,1)]);
 y = interp1 (d1(:,1), d1(:,2), x, "cubic", "extrap");
 z = interp1 (d2(:,1), d2(:,2), x, "cubic", "extrap");

 plot3 (x, y, z);

I would like to use splines, can anyone please assist me regarding this
matter, as i'm new to octave and gnuplot. thanks and regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20081001/9f0e2ccf/attachment.html 


More information about the Help-octave mailing list