Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Dariusz Pogocki  
#1 Posted : 05 October 2020 04:05:04(UTC)
Dariusz Pogocki

Rank: Newbie

Groups: Registered
Joined: 01/10/2020(UTC)
Posts: 3
Poland
Location: Cieszyna

Hi,
For my Physical Chemistry lectures I am adopting MathCAD 8th sheets attached to the Atkins and de Paula, 7th edition textbook, to the recent SMath Studio. For 3D plots I am applying plugin "3D Plot Region (Chart3DLiCool" it works good except saving formatted plots. Have you got any idea how to resolve the problem.
The SMath sheet and PDF screen attached.
Yours
Dariusz.
P701E02+.sm (29kb) downloaded 42 time(s). P701E02+.pdf (271kb) downloaded 37 time(s).

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline mkraska  
#2 Posted : 05 October 2020 15:49:53(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
This is a version using the draw function of the Maxima plugin. The commands are described and demonstrated in Section 6.1 of the german SMath Handbuch

2020-10-05 14_45_40-SMath Studio - [P701E02_Kr.sm_].png
P701E02_Kr.sm (225kb) downloaded 42 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Dariusz Pogocki  
#3 Posted : 05 October 2020 17:36:26(UTC)
Dariusz Pogocki

Rank: Newbie

Groups: Registered
Joined: 01/10/2020(UTC)
Posts: 3
Poland
Location: Cieszyna

Thanks Martin,
Now I have to overcome the "no maxima.bat" problem. Good .
Your solution allows rotation of the plot?
Dariusz
Offline mkraska  
#4 Posted : 05 October 2020 19:24:49(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
For configuring maxima, see the link in the signature.

The given solution controls the orientation by the view parameters.
Yet there is a so called Maxima Draw3D region, where interactive rotation is possible, at the price of slightly less stability (the region might freeze).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Jean Giraud  
#5 Posted : 05 October 2020 22:54:49(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Dariusz Pogocki Go to Quoted Post
Now I have to overcome the "no maxima.bat" problem. .
Your solution allows rotation of the plot?

You can do it much differently and more profitable:
1. Tabulate a 10 x 10 xy matrix [per say]
2. Install the spline 2D
3. Mesh finer CreateMesh.
4. Orient at will.
5. Plot the 2D oriented.
The bonus is that you can spline/interpolate the original matrix.
Offline Dariusz Pogocki  
#6 Posted : 06 October 2020 20:38:20(UTC)
Dariusz Pogocki

Rank: Newbie

Groups: Registered
Joined: 01/10/2020(UTC)
Posts: 3
Poland
Location: Cieszyna

Hi! Maxima works after instalaton of the last, 64-bit version.
The lectures I have for biology students, which are mathematically impaired (excluding statistics, which they learn but hate). Therefore I would like for them simplest possible solution, with "crude" SMath.
Yours,
Dariusz
Offline Razonar  
#7 Posted : 06 October 2020 20:43:25(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Hi. You can adapt this technique to preserve the orientation in the 3D plot or plot the projection of a 3D surface into a 2D plot, both native SMath plots. The original idea isn't mine, but can't find from who I adapt it.

Plot2DAs3D.sm (28kb) downloaded 45 time(s).
Plot2DAs3D.pdf (127kb) downloaded 34 time(s).

Best regards.
Alvaro.
Offline Jean Giraud  
#8 Posted : 06 October 2020 22:19:39(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Dariusz Pogocki Go to Quoted Post
Hi! Maxima works after installaton of the last, 64-bit version.
The lectures I have for biology students, which are mathematically impaired (excluding statistics, which they learn but hate). Therefore I would like for them simplest possible solution, with "crude" SMath.
Yours,
Dariusz

Then the simplest is in native Smath ... ignoring Maxima.
In the attached: spline(x,y,M) is same as bilinear(x,y,M)
spline(x,y,M) adapted from Valery Ochov [MCD]

Spline Matrix Tutorial RECTANGULAR Surface Plot.sm (23kb) downloaded 31 time(s).
SplineRectangularMatrix1 Rotate XYZ.sm (55kb) downloaded 29 time(s).
Bilinear [Oterwise metric X, Y Directions].sm (78kb) downloaded 27 time(s).
Offline Ber7  
#9 Posted : 06 October 2020 22:51:15(UTC)
Ber7


Rank: Advanced Member

Groups: Registered
Joined: 15/07/2010(UTC)
Posts: 437
Man
Israel
Location: Beer-Sheva

Was thanked: 520 time(s) in 288 post(s)
Originally Posted by: Razonar Go to Quoted Post
Hi. You can adapt this technique to preserve the orientation in the 3D plot or plot the projection of a 3D surface into a 2D plot, both native SMath plots. The original idea isn't mine, but can't find from who I adapt it.


Alvaro,perhaps you got this idea from here
https://en.smath.com/for...-dimensional--graph.aspx

thanks 1 user thanked Ber7 for this useful post.
on 07/10/2020(UTC)
Offline Razonar  
#10 Posted : 06 October 2020 23:21:17(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: Ber7 Go to Quoted Post
Originally Posted by: Razonar Go to Quoted Post
Hi. You can adapt this technique to preserve the orientation in the 3D plot or plot the projection of a 3D surface into a 2D plot, both native SMath plots. The original idea isn't mine, but can't find from who I adapt it.


Alvaro,perhaps you got this idea from here
https://en.smath.com/for...-dimensional--graph.aspx



Hi Fridel. Sure from you, but not from this post, which involve very complicate figures. I remember that I ask from another post (I assume now to you) from where you get that gamma factor for rotate the matrix to plot, because have troubles reconstructing it. In spanish literature spherical coordinates and Euler angles are not always the same than in english, and given that SMath 3D plots are left oriented ... with this two issues I have enough. BTW the idea for multiply with a "point of view" matrix it's great and works for make 3D plots in native SMath 2D plot region, or preserve the orientation in 3D. I remember also another post, guess from Jean, with other matrices expressing very simple rotations with integers as coefficients.

Best regards.
Alvaro.
Offline Jean Giraud  
#11 Posted : 07 October 2020 03:50:41(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Dariusz Pogocki Go to Quoted Post
For 3D plots I am applyingplugin "3D Plot Region (Chart3DLi" it works good except saving formatted plots. Have you got any idea how to resolve the problem.

Considered a bug, reported, never solved ... plugin as is
can't mesh, does not save setting => useless.
Practice the attached.

Page2 Unk.sm (37kb) downloaded 28 time(s).

Offline Razonar  
#12 Posted : 07 October 2020 11:24:19(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: Razonar Go to Quoted Post
...
Hi Fridel. Sure from you, but not from this post, which involve very complicate figures. I remember that I ask from another post (I assume now to you) from where you get that gamma factor for rotate the matrix to plot, because have troubles reconstructing it.
...



Found it.
Here: https://en.smath.com/for..._3D-Rotation-Matrix.aspx
and here: https://en.smath.com/for...gLib-3-1x.aspx#post54527

Best regards.
Alvaro.
thanks 1 user thanked Razonar for this useful post.
on 07/10/2020(UTC)
Offline Jean Giraud  
#13 Posted : 08 October 2020 03:23:31(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Razonar Go to Quoted Post
from where you get that gamma factor for rotate the matrix to plot, because have troubles reconstructing it.

That gamma factor is the Euler [roll, pitch, yaw] NOT commutative,
otherwise: couldn't pilot aircraft !!!
The MeshPlot(T(u,v),0,2*π,35,0,2*π,35) is CreateMesh(,,,,,,,) since at least SS 5346
The attached is Alvaro document optimized SS 6179
Once optimized, it runs ~ 10 times faster but twice timing than CreateMesh.
There are 4 common rotations:
1. Quaternions,
2. Parametric 'X,Y,Z,t'
3. Euler
4. Composite

If you want those demo sheets: say YES.

Cheers, thanks alvaro ... Jean

Utilities Matrix CreateMesh Code [Alvaro].sm (43kb) downloaded 36 time(s).

thanks 1 user thanked Jean Giraud for this useful post.
on 08/10/2020(UTC)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.