2D Vector Field plot

2D Vector Field plot - Сообщения

#1 Опубликовано: 12.11.2018 06:56:18
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

Hi. 2D Vector Field plot

vfield.sm (109 КиБ) скачан 234 раз(а).
vfield.pdf (193 КиБ) скачан 242 раз(а).

Best regards.
Alvaro.
4 пользователям понравился этот пост
Fridel Selitsky 12.11.2018 07:43:00, Davide Carpi 12.11.2018 07:51:00, NDTM Amarasekera 12.11.2018 11:10:00, frapuano 12.11.2018 12:55:00
#2 Опубликовано: 12.11.2018 09:51:52
Jean Giraud

Jean Giraud

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

Группа: User

Sorry Alvaro: all red SS6179
#3 Опубликовано: 12.11.2018 18:28:01
Fridel Selitsky

Fridel Selitsky

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

Группа: User

You can use a supplement that makes the lines monochrome.

vfieldMonochrome.sm (55 КиБ) скачан 155 раз(а).
3 пользователям понравился этот пост
Alvaro Diaz Falconi 12.11.2018 18:56:00, Davide Carpi 12.11.2018 20:57:00, frapuano 13.11.2018 06:28:00
#4 Опубликовано: 13.11.2018 01:02:04
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

Wrote

Sorry Alvaro: all red SS6179



Hi Jean. I use range instead for loops. This feature is available only in newer versions, don't know starting from which one.
Best regards.
Alvaro.
#5 Опубликовано: 13.11.2018 01:18:34
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

Wrote

You can use a supplement that makes the lines monochrome.



Hi Ber. Thanks very much for the tip. You cycle all colors to return to the first one. Amazing creativity!

Best regards.
Alvaro.

#6 Опубликовано: 13.11.2018 18:21:08
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

Improved with the Ber suggestion. Also, some explanation about the vectors added.

vfield.sm (124 КиБ) скачан 140 раз(а).

Best regards.
Alvaro.
1 пользователям понравился этот пост
Fridel Selitsky 14.11.2018 02:22:00
#7 Опубликовано: 14.11.2018 02:15:58
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Improved with the Ber7 suggestion. Also, some explanation about the vectors added.


Thanks Alvaro, good job. SS6179 complains for the last two modules.
Added Tom code if it can help for more difficult example(s).

Cheers ... Jean

ODE rkf Integrate [rkf4 2 parameters Algo] Else.sm (205 КиБ) скачан 122 раз(а).


1 пользователям понравился этот пост
Alvaro Diaz Falconi 14.11.2018 03:44:00
#8 Опубликовано: 14.11.2018 03:48:17
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

Wrote


Added Tom code if it can help for more difficult example(s).



Hi Jean. Thanks for the examples. This is my version of the Tom's Example.

Clipboard01.gif

vfield Tom Gutman's IntegralCurves Example.sm (137 КиБ) скачан 145 раз(а).

Best regards.
Alvaro.
1 пользователям понравился этот пост
frapuano 14.11.2018 04:17:00
#9 Опубликовано: 14.11.2018 07:28:45
Fridel Selitsky

Fridel Selitsky

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

Группа: User

Thank you Alvaro, impressive work.
#10 Опубликовано: 14.11.2018 15:04:53
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

Jean's example

Clipboard01.gif

Best regards.
Alvaro.
1 пользователям понравился этот пост
frapuano 14.11.2018 16:24:00
#11 Опубликовано: 14.11.2018 22:03:44
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Hi Jean. Thanks for the examples. This is my version of the Tom's Example.


Really impressive ! Thanks for your great enhancement of SS.
SS 6179 complains, but easy to get the integral path otherwise,
though for this example it is short of going past the "Wolf line".

Jean

vfAlvaro.PNG

vfield Tom Gutman's IntegralCurves Example.sm (144 КиБ) скачан 125 раз(а).
#12 Опубликовано: 15.11.2018 02:19:52
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Really impressive ! Thanks for your great enhancement of SS.



In some way(s), I reconciliated myself with your vector field.
I understand the multiple "ic" feature, that I couldn't doctor.
Your VF is so far superior to MCD native "Vector Fields",
though: there are lot of specifications that don't present well.

Cheers ... Jean

vfAlvaro[algo].PNG

VectorField [Alvaro]_2.sm (31 КиБ) скачан 132 раз(а).
#13 Опубликовано: 15.11.2018 18:14:59
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

Numerical Contour integral, as it figure in the mathcad quick sheets.

Numerical Contour Integral - SMath.pdf (85 КиБ) скачан 127 раз(а).
Numerical Contour Integral - SMath.sm (57 КиБ) скачан 142 раз(а).
Numerical Contour Integral - Mathcad.pdf (91 КиБ) скачан 119 раз(а).

Best regards.
Alvaro.
#14 Опубликовано: 05.12.2018 03:30:27
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

It takes a lot, but it looks great

ElectricField.sm (127 КиБ) скачан 143 раз(а).

Clipboard01.gif

Best regards.
Alvaro.

3 пользователям понравился этот пост
Arie 05.12.2018 10:24:00, Fridel Selitsky 05.12.2018 11:35:00, frapuano 05.12.2018 15:01:00
#15 Опубликовано: 10.12.2020 03:02:31
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

An update employing Viacheslav's suggestion from here to force them to be monochrome traces, although it only works in the XYPlot plugin and not in SMath 2D charts. I imagine that he must know it very well because in reality it is not that the plugin is his, but also that the procedure for the implicit graph is taken from the mathcad forum from a post by him.

Clipboard01.gif

ElectricField XYPltot.sm (132 КиБ) скачан 114 раз(а).

I'm still thinking that even that it could be great to have NaN (Not A Number) as an another choice.

Best regards.
Alvaro.
1 пользователям понравился этот пост
Andrey Ivashov 10.12.2020 11:49:00
#16 Опубликовано: 13.12.2020 21:15:26
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

I'm still thinking that even that it could be great to have NaN (Not A Number) as an another choice.


Tom has used 10^307 as NaN doing same as Mathcad built-NaN. Not tested Smath.
#17 Опубликовано: 14.12.2020 04:11:30
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

Wrote

Wrote

I'm still thinking that even that it could be great to have NaN (Not A Number) as an another choice.


Tom has used 10^307 as NaN doing same as Mathcad built-NaN. Not tested Smath.



Hi Jean. Thanks for the tip. I know it. Also Tom Gutman use NaN = i and others more complicated like int(1,NaN), this is, NaN as the differential. But that before the update for Mathcad 11 2a. This version was hard to crack, and students have the previous version 11 2b, without NaN, or next releases, where mathcad starts it's dead, but all of them with NaN. Now 11 2a release it's dead because it's hardware authentication involving the net card and how know what's else.

In SMath NaN = big number is useless in plots because don't break the line, and NaN = i returns an error in plots. Without implementing a complicated programming structure for NaN, taking an empty string "" as break when plotting nx2 matrices was enough, I think, for avoiding the need to cycle colors for keep the same.

XY plot can emulate that, but you need to change the data structure, as matrices inside matrices. That's make complicate further use of the data points.

Best regards.
Alvaro.
#18 Опубликовано: 14.12.2020 07:15:24
Вячеслав Мезенцев

Вячеслав Мезенцев

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

Группа: Moderator

X-Y Plot uses NaN internally in order to hide points that can't be drawn. You can ask Andrey to add the ability to enter this "number". We have symbolic infinity, why not have a NaN?
Russia ☭ forever, Viacheslav N. Mezentsev
#19 Опубликовано: 14.12.2020 09:34:53
Jean Giraud

Jean Giraud

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

Группа: User

Hola Alvaro,
All what you said about Mathcad is right. Yes, Tom used various versions of NaN.
My Mathcad 8 Pro was a crack before spending $ ... Worked perfect.
Consequently from beta testing 2001i, Mathsoft send me the 2001i CD.
Then for developing DATA Pack, Mathcad 11. Few days after 11, came
a several MB update in two modules. There was 2 versions of 11.2a.
Enterprise Edition and Single User Edition.
Enterprise Edition unprotected by Macrovision.
Single User Edition, protected by Macrovision.
On May 30 2015 15:30, PTC ruptured their contract with Macrovision,
all Single User Edition got zapped. Impossible to crack Macrovision,
as you said, there is no crack for MCD 11.2a.
Though, I got zapped MCD 11.2a, I still have it running on XP Pro
from a wise back to back installation by my Technician before the killing date.
Possibly, Macrovision is simply a hidden times stamp ?
Cheers ... Jean
#20 Опубликовано: 15.12.2020 04:16:54
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

Wrote

X-Y Plot uses NaN internally in order to hide points that can't be drawn. You can ask Andrey to add the ability to enter this "number". We have symbolic infinity, why not have a NaN?



Hello Viacheslav . Thanks for the recommendation, and sorry for the delay. I do not make that recommendation because I am not sure what the priorities may be. Implementing NaN can be quite complicated, and it should have an effect on almost all plugins, as they should be able to accept that new "number". NaN is regulated by too rigid standards, and its implementation may not be urgent. If it were up to me, I could fill out a very long list of requests, and I am sure that Andrey would attend to many of them, as he has done before, but I am aware that some of the things that I may ask for would be impractical, as kind.

I could ask that instead of implementing NaN I take empty strings, or empty string arrays as a special kind of NaN, but I don't know how much programming effort something that would be a temporary solution might cost.

In short, I do not order because I do not know the priorities. Now, if you ask me to risk an opinion, not a request, I think that what should be prioritized is to have a robust and predictable numerical linear algebra library.

Best regards.
Alvaro.
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений