2D Vector Field plot

2D Vector Field plot - Messages

#1 Posted: 11/12/2018 6:56:18 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: User

Hi. 2D Vector Field plot

vfield.sm (109 KiB) downloaded 234 time(s).
vfield.pdf (193 KiB) downloaded 241 time(s).

Best regards.
Alvaro.
4 users liked this post
Fridel Selitsky 11/12/2018 7:43:00 AM, Davide Carpi 11/12/2018 7:51:00 AM, NDTM Amarasekera 11/12/2018 11:10:00 AM, frapuano 11/12/2018 12:55:00 PM
#2 Posted: 11/12/2018 9:51:52 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Sorry Alvaro: all red SS6179
#3 Posted: 11/12/2018 6:28:01 PM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

You can use a supplement that makes the lines monochrome.

vfieldMonochrome.sm (55 KiB) downloaded 155 time(s).
3 users liked this post
Alvaro Diaz Falconi 11/12/2018 6:56:00 PM, Davide Carpi 11/12/2018 8:57:00 PM, frapuano 11/13/2018 6:28:00 AM
#4 Posted: 11/13/2018 1:02:04 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: 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 Posted: 11/13/2018 1:18:34 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: 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 Posted: 11/13/2018 6:21:08 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: User

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

vfield.sm (124 KiB) downloaded 140 time(s).

Best regards.
Alvaro.
1 users liked this post
Fridel Selitsky 11/14/2018 2:22:00 AM
#7 Posted: 11/14/2018 2:15:58 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 122 time(s).


1 users liked this post
Alvaro Diaz Falconi 11/14/2018 3:44:00 AM
#8 Posted: 11/14/2018 3:48:17 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: 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 KiB) downloaded 145 time(s).

Best regards.
Alvaro.
1 users liked this post
frapuano 11/14/2018 4:17:00 AM
#9 Posted: 11/14/2018 7:28:45 AM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

Thank you Alvaro, impressive work.
#10 Posted: 11/14/2018 3:04:53 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: User

Jean's example

Clipboard01.gif

Best regards.
Alvaro.
1 users liked this post
frapuano 11/14/2018 4:24:00 PM
#11 Posted: 11/14/2018 10:03:44 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 125 time(s).
#12 Posted: 11/15/2018 2:19:52 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 132 time(s).
#13 Posted: 11/15/2018 6:14:59 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: User

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

Numerical Contour Integral - SMath.pdf (85 KiB) downloaded 127 time(s).
Numerical Contour Integral - SMath.sm (57 KiB) downloaded 142 time(s).
Numerical Contour Integral - Mathcad.pdf (91 KiB) downloaded 119 time(s).

Best regards.
Alvaro.
#14 Posted: 12/5/2018 3:30:27 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: User

It takes a lot, but it looks great

ElectricField.sm (127 KiB) downloaded 143 time(s).

Clipboard01.gif

Best regards.
Alvaro.

3 users liked this post
Arie 12/5/2018 10:24:00 AM, Fridel Selitsky 12/5/2018 11:35:00 AM, frapuano 12/5/2018 3:01:00 PM
#15 Posted: 12/10/2020 3:02:31 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: 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 KiB) downloaded 114 time(s).

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 users liked this post
Andrey Ivashov 12/10/2020 11:49:00 AM
#16 Posted: 12/13/2020 9:15:26 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 12/14/2020 4:11:30 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: 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 Posted: 12/14/2020 7:15:24 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 Posted: 12/14/2020 9:34:53 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 12/15/2020 4:16:54 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: 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.
  • New Posts New Posts
  • No New Posts No New Posts