3D Plot Region (Chart3DLib)

3D Plot Region (Chart3DLib) - Problem with saving formatted plots - Сообщения

#1 Опубликовано: 04.10.2020 22:05:04
Dariusz Pogocki

Dariusz Pogocki

0 сообщений из 3 понравились пользователям.

Группа: User

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 (Chart3DLib)" 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.
Файл не найден.Файл не найден.
#2 Опубликовано: 05.10.2020 09:49:53
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

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 (224 КиБ) скачан 67 раз(а).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Опубликовано: 05.10.2020 11:36:26
Dariusz Pogocki

Dariusz Pogocki

0 сообщений из 3 понравились пользователям.

Группа: User

Thanks Martin,
Now I have to overcome the "no maxima.bat" problem. .
Your solution allows rotation of the plot?
Dariusz
#4 Опубликовано: 05.10.2020 13:24:49
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

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://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#5 Опубликовано: 05.10.2020 16:54:49
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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.
#6 Опубликовано: 06.10.2020 14:38:20
Dariusz Pogocki

Dariusz Pogocki

0 сообщений из 3 понравились пользователям.

Группа: User

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
#7 Опубликовано: 06.10.2020 14:43:25
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

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 (27 КиБ) скачан 71 раз(а).
Plot2DAs3D.pdf (126 КиБ) скачан 63 раз(а).

Best regards.
Alvaro.
#8 Опубликовано: 06.10.2020 16:19:39
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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 (22 КиБ) скачан 55 раз(а).
SplineRectangularMatrix1 Rotate XYZ.sm (54 КиБ) скачан 53 раз(а).
Bilinear [Oterwise metric X, Y Directions].sm (77 КиБ) скачан 45 раз(а).
#9 Опубликовано: 06.10.2020 16:51:15
Fridel Selitsky

Fridel Selitsky

520 сообщений из 451 понравились пользователям.

Группа: User

Wrote

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/forum/yaf_postst2215_Transferring-three-dimensional-image-on-a-two-dimensional--graph.aspx

1 пользователям понравился этот пост
Alvaro Diaz Falconi 06.10.2020 18:05:00
#10 Опубликовано: 06.10.2020 17:21:17
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Wrote

Wrote

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/forum/yaf_postst2215_Transferring-three-dimensional-image-on-a-two-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.
#11 Опубликовано: 06.10.2020 21:50:41
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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 (36 КиБ) скачан 47 раз(а).

#12 Опубликовано: 07.10.2020 05:24:19
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Wrote

...
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/forum/yaf_postst14918_3D-Rotation-Matrix.aspx
and here: https://en.smath.com/forum/yaf_postsm54527_AlgLib-3-1x.aspx#post54527

Best regards.
Alvaro.
1 пользователям понравился этот пост
Fridel Selitsky 07.10.2020 06:23:00
#13 Опубликовано: 07.10.2020 21:23:31
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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 (42 КиБ) скачан 62 раз(а).

1 пользователям понравился этот пост
Alvaro Diaz Falconi 08.10.2020 12:24:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений