Animate plots

Animate plots - Poruke

#1 Objavljeno: 6. 11. 2019. 06:41:56
hanskl

hanskl

7 svidjanja u 158 postova.

Grupa: 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) preuzeto 1272 put(ova).

#2 Objavljeno: 6. 11. 2019. 11:11:51
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

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

0Anim Brownian.sm (9,94 KiB) preuzeto 1199 put(ova).
0Anim Butterfly.sm (15,42 KiB) preuzeto 1225 put(ova).
0Anim Analemma.sm (29,27 KiB) preuzeto 1243 put(ova).
0Anim Brownian 3D [Ber7].sm (24,55 KiB) preuzeto 995 put(ova).
0Anim CONVOLUTION.sm (27,89 KiB) preuzeto 1182 put(ova).
0Anim Cheval.sm (21,64 KiB) preuzeto 1214 put(ova).
0Anim Lorenz Attractor.sm (6,08 KiB) preuzeto 1286 put(ova).
0Anim Ellipse.sm (13,85 KiB) preuzeto 1214 put(ova).
0Anim Lorenz Attractor Norm2r.sm (10,48 KiB) preuzeto 1250 put(ova).
0Anim Gozilla.sm (11,57 KiB) preuzeto 1217 put(ova).
0Anim Model [Lissajous, Brownian, Butterfly].sm (39,48 KiB) preuzeto 1053 put(ova).
0Anim Trifolium [Windmill Ber7].sm (25,85 KiB) preuzeto 1056 put(ova).
0Anim Trifolium [Windmill].sm (17,34 KiB) preuzeto 1011 put(ova).
#3 Objavljeno: 6. 11. 2019. 12:31:32
Fridel Selitsky

Fridel Selitsky

520 svidjanja u 451 postova.

Grupa: User

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

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1234 put(ova).
#5 Objavljeno: 6. 11. 2019. 17:45:06
hanskl

hanskl

7 svidjanja u 158 postova.

Grupa: User

Wrote

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



Wowzers!
#6 Objavljeno: 6. 11. 2019. 17:47:42
hanskl

hanskl

7 svidjanja u 158 postova.

Grupa: 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) preuzeto 1234 put(ova).



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 Objavljeno: 6. 11. 2019. 18:58:23
hanskl

hanskl

7 svidjanja u 158 postova.

Grupa: 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) preuzeto 1284 put(ova).
Skjermbilde.PNG
#8 Objavljeno: 6. 11. 2019. 21:25:26
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 7. 11. 2019. 00:31:04
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

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

0Anim Fourier MonkeyBranching.sm (14,48 KiB) preuzeto 1266 put(ova).
#10 Objavljeno: 7. 11. 2019. 06:06:33
hanskl

hanskl

7 svidjanja u 158 postova.

Grupa: 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 Objavljeno: 7. 11. 2019. 18:07:53
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1032 put(ova).
#12 Objavljeno: 8. 11. 2019. 07:08:47
hanskl

hanskl

7 svidjanja u 158 postova.

Grupa: 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 Objavljeno: 8. 11. 2019. 13:31:53
Fridel Selitsky

Fridel Selitsky

520 svidjanja u 451 postova.

Grupa: 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) preuzeto 1250 put(ova).

#14 Objavljeno: 8. 11. 2019. 14:58:53
Andrey Ivashov

Andrey Ivashov

2.345 svidjanja u 4.060 postova.

Grupa: 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) preuzeto 1032 put(ova).



0.8 min using latest 7251:

julia.png

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

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

Significant (20x) performance improvement for 3 years.


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

  • Novi postovi
  • Nema novih postova