cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Animate a set of data(x and y values only)

dgarzase
1-Newbie

Animate a set of data(x and y values only)

I have a set of data that has appx 27,000 lines. The data is in excel. I can plot the data from tables but is it possible to animate the data starting from the beginning of the data? The data mimics a hysteresis graph and plots nicely. I would like to animate the data.

1 ACCEPTED SOLUTION

Accepted Solutions
RichardJ
19-Tanzanite
(To:dgarzase)

See the attached worksheet.

View solution in original post

9 REPLIES 9
RichardJ
19-Tanzanite
(To:dgarzase)

You can animate a graph in Mathcad 15, but not in Mathcad Prime.

Richard,

Say I have a set of data as such,

20
30.15
40
5-0.15
60
71
80
9-1
100
111.5
120
13-1.5
140
151.7
160
17-1.7
180
191.71
200
21-1.71
220
232.8
240
25-2.8
260
272.95
280
29-2.95
300
313.2
320
33-3.2
340
354
360
37-4
380
396
400
41-6
420
438
440
45-8
460
479.2
480
49-9.2
500
5110

How do I take this data and animate?

RichardJ
19-Tanzanite
(To:dgarzase)

Which version of Mathcad do you have?

What do you want to animate? Do you want to show one point on a graph that starts at 2, 0, then moves to 3, 0.15, etc?

I have 14 in my personal laptop and 15 at work computer.

You are correct, start 2,0 then 3,0.15 and so on.

Final graph below.

Mathcad - Static Cyclic Data.jpg

I also have a larger file with a-lot more data but if I can do this one, the larger one should not be a problem.

RichardJ
19-Tanzanite
(To:dgarzase)

See the attached worksheet.

Thank you Richard, this is exactly what I was looking for. I will be in contact if the larger file does not work.

Richard,

What if you have 10,000 or more rows of data? How do you animate?

RichardJ
19-Tanzanite
(To:dgarzase)

You need a high frame rate.

Got it, thank you.

Top Tags