1 страниц (17 вхождений)
Maxima plot - How to add point in maxima plot - Сообщения
Hi, i would like to add some points to 3D plot. How can I do that?
And can i somehow make the plot smooth without using smaller steps in vectors?

Kompresibilita_3D.sm (56,04 КиБ) скачан 215 раз(а).
Thanks for answers,
Tomas
And can i somehow make the plot smooth without using smaller steps in vectors?

Kompresibilita_3D.sm (56,04 КиБ) скачан 215 раз(а).
Thanks for answers,
Tomas
Отредактировано 22.01.2026 10:54:05
You could try to create a mesh of triangles or quadrilateral objects. Then you are free to use a problem-adjusted surface parametrization.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
Hi,
thanks for your answer. I have another question. I´m trying to make graph of water density, but the axes are not right, what is wrong?

hustota vody.sm (69 КиБ) скачан 122 раз(а).
Thanks,
Tomáš
thanks for your answer. I have another question. I´m trying to make graph of water density, but the axes are not right, what is wrong?

hustota vody.sm (69 КиБ) скачан 122 раз(а).
Thanks,
Tomáš
Thanks you very much! That helped.
But if i want to make axes right i have to switch x and y axes in elevation grid command. I don’t know why.

hustota vody.sm (135,01 КиБ) скачан 127 раз(а).
Is there any sheet of something like that, where I can fing all comands for plots? And how can I write them, because commands that I used, I copied from some file I found.
Thanks for answers,
Tomáš
But if i want to make axes right i have to switch x and y axes in elevation grid command. I don’t know why.

hustota vody.sm (135,01 КиБ) скачан 127 раз(а).
Is there any sheet of something like that, where I can fing all comands for plots? And how can I write them, because commands that I used, I copied from some file I found.
Thanks for answers,
Tomáš
See topic starter https://smath.com/en-US/forum/topic/cnc5Xp/Maxima-Plugin. I added some references there.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
That is awesome!
Thanks,
Tomáš
Thanks,
Tomáš
Hi,
how can I add point B to plot? When I tried I make point or plot, but not both of them.

kriticky_bod.sm (202,22 КиБ) скачан 63 раз(а).
Thanks for answers,
Tomas
how can I add point B to plot? When I tried I make point or plot, but not both of them.

kriticky_bod.sm (202,22 КиБ) скачан 63 раз(а).
Thanks for answers,
Tomas
Thanks for answer,
I tried to fix it and I ended with this. Still can t plot graph and point together.

kriticky_bod.sm (201,86 КиБ) скачан 50 раз(а).
What should I do now?
Tomáš
I tried to fix it and I ended with this. Still can t plot graph and point together.

kriticky_bod.sm (201,86 КиБ) скачан 50 раз(а).
What should I do now?
Tomáš
You still have a negative h value (temperature difference). Reverse this (and also reverse the matrix). Then it should work.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
Good to see. You also might display the z values in MJ/kg to get nicer tick labels and play around with the view parameters in the settings menu to avoid interference between axis label and tick labels.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
Now I would like to add saturation curve. Is it better to go with matrix or function? And how can I do that?

I tried parametric function, but plot did not work.

krit_bod_2.sm (211,84 КиБ) скачан 19 раз(а).
Thanks for answers!
Tomáš

I tried parametric function, but plot did not work.

krit_bod_2.sm (211,84 КиБ) скачан 19 раз(а).
Thanks for answers!
Tomáš
Отредактировано 19.02.2026 12:05:07
I guess it is best to use the points object just like for the single point. Set points_joined to true, point_type to something convenient. Using a function will work only if that function is supported by the interface to Maxima, which probably doesn't apply to coolprop functions or interpolated functions.


Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
Hi,
I’m back. I tried to create line of points by maxima handbook. Handbook is really great, but I couldn’t figure it out. What am I doing wrong? Matrix seems right.
And i have another question. When I created plot of enthalpy I just wrote name of the "plot function". But in the manual, there is Draw3D("plot function"). Why is that?

saturation_curve.sm (194,75 КиБ) скачан 10 раз(а).
Thanks for your help and patient, I really appriciate it.
Tomáš
I’m back. I tried to create line of points by maxima handbook. Handbook is really great, but I couldn’t figure it out. What am I doing wrong? Matrix seems right.
And i have another question. When I created plot of enthalpy I just wrote name of the "plot function". But in the manual, there is Draw3D("plot function"). Why is that?

saturation_curve.sm (194,75 КиБ) скачан 10 раз(а).
Thanks for your help and patient, I really appriciate it.
Tomáš
Your data matrix isn't in the correct format. It is a one-column matrix of row vectors. Make it a real n x 3 matrix, then try again.
Also, you use different units when filling the data matrix (J/kg) and for the axis limits (kJ/kg).
As to the Draw3D command, see intro text to Chapter 3.


Also, you use different units when filling the data matrix (J/kg) and for the axis limits (kJ/kg).
As to the Draw3D command, see intro text to Chapter 3.


Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 страниц (17 вхождений)
- Новые сообщения
- Нет новых сообщений


