3D animation

Bart Vandewoestyne Bart.Vandewoestyne at telenet.be
Wed Feb 18 13:33:14 CST 2009


On Wed, Feb 18, 2009 at 01:48:40PM -0500, John W. Eaton wrote:
>
> What is F in the above?
> 
> In any case, this is most likely a limitation of the speed of 3D
> rendering in gnuplot, but I'd be interested to see exactly what you
> are seeing, so it would be helpful if you could post a complete
> working example.

For now, this is what I use for F:

function y = F(x, y, t)

A = 1.0e4;
xs = 125;
ys = 150;
wx = 3;
wy = 3;
f = 250.0e3;
w = 2/f;
p = 2;
sw = 3/f;

y = A*exp(-0.5*((x-xs)/wx).^2).*exp(-0.5*((y-ys)/wy).^2) ...
       *sin(2*pi*f*t);


I would like to animate the pulse going up and down.

Regards,
Bart

-- 
	"Share what you know.  Learn what you don't."


More information about the Help-octave mailing list