Animate plots

Animate plots - Messages

#1 Posted: 11/6/2019 6:41:56 AM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Hi guys.

Seeing how fast I got great and helpful answers yesterday, I thought I might ask another rather silly question. I am trying to animate a plot, and I have never done it before.

I have made a simple sheet ploting V,M for a rectangular simply supported beam with uniformly distributed load. I have also plotted sigma and tau for the section, as well as Von Mises.

I have tried to make 3D plots to show how stresses evovle through the length of the beam, and to some extent it illustrates that.

I have also tried to animate a 2D plot, to work like a cross section that moves along the length of the beam, but I cannot figure out how to make it work.

Any ideas where it went wrong for me?

Also; is it possible to plot stresses along y-axis as opposed to x-axis?

Thanks again :d

Skjermbilde.PNG
spenninger bjelke.sm (30 KiB) downloaded 46 time(s).

#2 Posted: 11/6/2019 11:11:51 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Oh !!! too many questions in there.
Some typical animations:

0Anim Brownian.sm (9 KiB) downloaded 42 time(s).
0Anim Butterfly.sm (15 KiB) downloaded 39 time(s).
0Anim Analemma.sm (29 KiB) downloaded 27 time(s).
0Anim Brownian 3D [Ber7].sm (24 KiB) downloaded 30 time(s).
0Anim CONVOLUTION.sm (27 KiB) downloaded 33 time(s).
0Anim Cheval.sm (21 KiB) downloaded 30 time(s).
0Anim Lorenz Attractor.sm (6 KiB) downloaded 33 time(s).
0Anim Ellipse.sm (13 KiB) downloaded 33 time(s).
0Anim Lorenz Attractor Norm2r.sm (10 KiB) downloaded 38 time(s).
0Anim Gozilla.sm (11 KiB) downloaded 31 time(s).
0Anim Model [Lissajous, Brownian, Butterfly].sm (39 KiB) downloaded 34 time(s).
0Anim Trifolium [Windmill Ber7].sm (25 KiB) downloaded 35 time(s).
0Anim Trifolium [Windmill].sm (17 KiB) downloaded 37 time(s).
#3 Posted: 11/6/2019 12:31:32 PM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

Check out this thread
https://en.smath.com/forum/yaf_postst1068_Beam-calculation.aspx
#4 Posted: 11/6/2019 12:51:59 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Also; is it possible to plot stresses along y-axis as opposed to x-axis?


1. Yes as discrete format ... augment(y,x) in reverse order.
2. surface 3D does not save settings. Plot f,g,j
not you had plot f(x,y) ...
3. can't doctor the last plot ... proved otherwise.

spenninger bjelke _1.sm (55 KiB) downloaded 39 time(s).
#5 Posted: 11/6/2019 5:45:06 PM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Wrote

Check out this thread
https://en.smath.com/forum/yaf_postst1068_Beam-calculation.aspx



Wowzers!
#6 Posted: 11/6/2019 5:47:42 PM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Wrote

Wrote

Also; is it possible to plot stresses along y-axis as opposed to x-axis?


1. Yes as discrete format ... augment(y,x) in reverse order.
2. surface 3D does not save settings. Plot f,g,j
not you had plot f(x,y) ...
3. can't doctor the last plot ... proved otherwise.

spenninger bjelke _1.sm (55 KiB) downloaded 39 time(s).



Thanks Jean!

I will try to plot about y-axis with the augment function.
Surface 3D not saving settings explains a lot! I think I tried to save those settings at least 10 times before giving up.

I will try to understand how plot animations work, and come back with a animated plot of my stresses..

Best regards,
Hans Kristian.
#7 Posted: 11/6/2019 6:58:23 PM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Well, I got the animations to work. I guess the mistake was to try to animate on a variable named 't'.

With a bit more tinkering I should be able to plot my stresses about y-y axis as well.

Best regards,
Hans Kristian

spenninger bjelke.sm (32 KiB) downloaded 58 time(s).
Skjermbilde.PNG
#8 Posted: 11/6/2019 9:25:26 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Well, I got the animations to work


I saved it under your name [Project Hans].
Always credit what's not personal.
Jean

#9 Posted: 11/7/2019 12:31:04 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... that one is for training your Olympic Monkey !
First: show him the Smath video ... enjoy.
Jean

0Anim Fourier MonkeyBranching.sm (14 KiB) downloaded 47 time(s).
#10 Posted: 11/7/2019 6:06:33 AM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Wrote

Wrote

Well, I got the animations to work


I saved it under your name [Project Hans].
Always credit what's not personal.
Jean



I find it somewhat funny my simple stress visualization sheet was something you deemed worthy of saving on your harddrive.

Thanks,
Hans Kristian
#11 Posted: 11/7/2019 6:07:53 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I find it somewhat funny my simple stress visualization sheet was something you deemed worthy of saving on your harddrive.


It carries units so nicely, not usual vs so many projects
that fail [Units don't match].
The attach breakfast with chicken rather than eggs.
At least, my small laptop does not smoke.

Julia.PNG

Pattern Julia Set [PUBLISH].sm (25 KiB) downloaded 52 time(s).
#12 Posted: 11/8/2019 7:08:47 AM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Wrote

Wrote

I find it somewhat funny my simple stress visualization sheet was something you deemed worthy of saving on your harddrive.


It carries units so nicely, not usual vs so many projects
that fail [Units don't match].
The attach breakfast with chicken rather than eggs.
At least, my small laptop does not smoke.



Thank you!

Mine actually managed this sheet in 1.2 minutes.. :d
#13 Posted: 11/8/2019 1:31:53 PM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

Wrote

... that one is for training your Olympic Monkey !
First: show him the Smath video ... enjoy.
Jean

Another variation of Jean animation

0Anim Fourier MonkeyBranching 1.sm (18 KiB) downloaded 47 time(s).

#14 Posted: 11/8/2019 2:58:53 PM
Andrey Ivashov

Andrey Ivashov

2270 likes in 3734 posts.

Group: Super Administrator

Wrote

Wrote

I find it somewhat funny my simple stress visualization sheet was something you deemed worthy of saving on your harddrive.


It carries units so nicely, not usual vs so many projects
that fail [Units don't match].
The attach breakfast with chicken rather than eggs.
At least, my small laptop does not smoke.

Julia.PNG

Pattern Julia Set [PUBLISH].sm (25 KiB) downloaded 52 time(s).



0.8 min using latest 7251:

julia.png

Significant (20x) performance improvement for 3 years.
#15 Posted: 11/8/2019 9:42:22 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Significant (20x) performance improvement for 3 years.


Impressive improvement ... MCD 11 XP Pro [4 sec]
Thanks Andrey ... Jean

  • New Posts New Posts
  • No New Posts No New Posts