Rank: Newbie
Groups: Registered
Joined: 01/10/2020(UTC) Posts: 3 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 (Chart3DLi " 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 45 time(s). P701E02+.pdf (271kb) downloaded 40 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,035 Was thanked: 1167 time(s) in 746 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 P701E02_Kr.sm (225kb) downloaded 45 time(s). |
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 01/10/2020(UTC) Posts: 3 Location: Cieszyna
|
Thanks Martin, Now I have to overcome the "no maxima.bat" problem. . Your solution allows rotation of the plot? Dariusz
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,035 Was thanked: 1167 time(s) in 746 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). |
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 983 time(s) in 811 post(s)
|
Originally Posted by: Dariusz Pogocki 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.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 01/10/2020(UTC) Posts: 3 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
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,475 Was thanked: 925 time(s) in 588 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 49 time(s). Plot2DAs3D.pdf (127kb) downloaded 36 time(s).Best regards. Alvaro.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 983 time(s) in 811 post(s)
|
Originally Posted by: Dariusz Pogocki 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 32 time(s). SplineRectangularMatrix1 Rotate XYZ.sm (55kb) downloaded 31 time(s). Bilinear [Oterwise metric X, Y Directions].sm (78kb) downloaded 28 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/07/2010(UTC) Posts: 437 Location: Beer-Sheva Was thanked: 520 time(s) in 288 post(s)
|
Originally Posted by: Razonar 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
|
1 user thanked Ber7 for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,475 Was thanked: 925 time(s) in 588 post(s)
|
Originally Posted by: Ber7 Originally Posted by: Razonar 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.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 983 time(s) in 811 post(s)
|
Originally Posted by: Dariusz Pogocki 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 29 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,475 Was thanked: 925 time(s) in 588 post(s)
|
|
1 user thanked Razonar for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 983 time(s) in 811 post(s)
|
Originally Posted by: Razonar 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 39 time(s).
|
1 user thanked Jean Giraud for this useful post.
|
|
|
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.