Animate plots

Animate plots - Messaggi

#1 Pubblicato: 06/11/2019 06:41:56
hanskl

hanskl

7 apprezzamenti in 158 post.

Gruppo: 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,46 KiB) scaricato 1272 volta(e).

#2 Pubblicato: 06/11/2019 11:11:51
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

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

0Anim Brownian.sm (9,94 KiB) scaricato 1197 volta(e).
0Anim Butterfly.sm (15,42 KiB) scaricato 1225 volta(e).
0Anim Analemma.sm (29,27 KiB) scaricato 1242 volta(e).
0Anim Brownian 3D [Ber7].sm (24,55 KiB) scaricato 995 volta(e).
0Anim CONVOLUTION.sm (27,89 KiB) scaricato 1181 volta(e).
0Anim Cheval.sm (21,64 KiB) scaricato 1214 volta(e).
0Anim Lorenz Attractor.sm (6,08 KiB) scaricato 1286 volta(e).
0Anim Ellipse.sm (13,85 KiB) scaricato 1214 volta(e).
0Anim Lorenz Attractor Norm2r.sm (10,48 KiB) scaricato 1248 volta(e).
0Anim Gozilla.sm (11,57 KiB) scaricato 1217 volta(e).
0Anim Model [Lissajous, Brownian, Butterfly].sm (39,48 KiB) scaricato 1053 volta(e).
0Anim Trifolium [Windmill Ber7].sm (25,85 KiB) scaricato 1055 volta(e).
0Anim Trifolium [Windmill].sm (17,34 KiB) scaricato 1011 volta(e).
#3 Pubblicato: 06/11/2019 12:31:32
Fridel Selitsky

Fridel Selitsky

520 apprezzamenti in 451 post.

Gruppo: User

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

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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,57 KiB) scaricato 1233 volta(e).
#5 Pubblicato: 06/11/2019 17:45:06
hanskl

hanskl

7 apprezzamenti in 158 post.

Gruppo: User

Wrote

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



Wowzers!
#6 Pubblicato: 06/11/2019 17:47:42
hanskl

hanskl

7 apprezzamenti in 158 post.

Gruppo: 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,57 KiB) scaricato 1233 volta(e).



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 Pubblicato: 06/11/2019 18:58:23
hanskl

hanskl

7 apprezzamenti in 158 post.

Gruppo: 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,03 KiB) scaricato 1284 volta(e).
Skjermbilde.PNG
#8 Pubblicato: 06/11/2019 21:25:26
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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 Pubblicato: 07/11/2019 00:31:04
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

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

0Anim Fourier MonkeyBranching.sm (14,48 KiB) scaricato 1265 volta(e).
#10 Pubblicato: 07/11/2019 06:06:33
hanskl

hanskl

7 apprezzamenti in 158 post.

Gruppo: 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 Pubblicato: 07/11/2019 18:07:53
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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,09 KiB) scaricato 1031 volta(e).
#12 Pubblicato: 08/11/2019 07:08:47
hanskl

hanskl

7 apprezzamenti in 158 post.

Gruppo: 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 Pubblicato: 08/11/2019 13:31:53
Fridel Selitsky

Fridel Selitsky

520 apprezzamenti in 451 post.

Gruppo: 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,08 KiB) scaricato 1249 volta(e).

#14 Pubblicato: 08/11/2019 14:58:53
Andrey Ivashov

Andrey Ivashov

2.345 apprezzamenti in 4.060 post.

Gruppo: 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,09 KiB) scaricato 1031 volta(e).



0.8 min using latest 7251:

julia.png

Significant (20x) performance improvement for 3 years.
#15 Pubblicato: 08/11/2019 21:42:22
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Significant (20x) performance improvement for 3 years.


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

  • Nuovi post
  • Nessun nuovo post