Create a Gif or video with images

Hello,

I am creating images coming out from an iterative process:

image1

image2

.

.

.

image1000

Is there any way to make a gif or video with the sequence of the images?

1 Answer



0



GAUSS does not have any way to record the images, but you could certainly create the images in a loop with the desired time between them and record the changing graphs with some free or paid screen recording software.

x = seqa(0.1, 0.1, 30);

struct plotControl mp;
mp = plotGetDefaults("xy");

// Make sure Y-axis does not change during animation
plotSetYRange(&mp, -1.2, 1.2);

for i(1, 10, 1);
    plotXY(mp, x, cos(x+i./10));

    // Wait 0.5 seconds before drawing next image
    call sleep(0.5);
endfor;

aptech

1,773

Your Answer

1 Answer

0

GAUSS does not have any way to record the images, but you could certainly create the images in a loop with the desired time between them and record the changing graphs with some free or paid screen recording software.

x = seqa(0.1, 0.1, 30);

struct plotControl mp;
mp = plotGetDefaults("xy");

// Make sure Y-axis does not change during animation
plotSetYRange(&mp, -1.2, 1.2);

for i(1, 10, 1);
    plotXY(mp, x, cos(x+i./10));

    // Wait 0.5 seconds before drawing next image
    call sleep(0.5);
endfor;


You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 14 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy