2D Vector Field plot

2D Vector Field plot - Poruke

#1 Objavljeno: 12. 11. 2018. 06:56:18
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

Hi. 2D Vector Field plot

vfield.sm (109,2 KiB) preuzeto 1671 put(ova).
vfield.pdf (193,92 KiB) preuzeto 1053 put(ova).

Best regards.
Alvaro.
4 korisnika je svidelo ovu objavu
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 Objavljeno: 12. 11. 2018. 09:51:52
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Sorry Alvaro: all red SS6179
#3 Objavljeno: 12. 11. 2018. 18:28:01
Fridel Selitsky

Fridel Selitsky

520 svidjanja u 451 postova.

Grupa: User

You can use a supplement that makes the lines monochrome.

vfieldMonochrome.sm (55,93 KiB) preuzeto 1577 put(ova).
3 korisnika je svidelo ovu objavu
Alvaro 12. 11. 2018. 18:56:00, Davide Carpi 12. 11. 2018. 20:57:00, frapuano 13. 11. 2018. 06:28:00
#4 Objavljeno: 13. 11. 2018. 01:02:04
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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 Objavljeno: 13. 11. 2018. 01:18:34
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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 Objavljeno: 13. 11. 2018. 18:21:08
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

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

vfield.sm (124,87 KiB) preuzeto 1569 put(ova).

Best regards.
Alvaro.
1 korisnika je svidelo ovu objavu
Fridel Selitsky 14. 11. 2018. 02:22:00
#7 Objavljeno: 14. 11. 2018. 02:15:58
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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,15 KiB) preuzeto 1443 put(ova).


1 korisnika je svidelo ovu objavu
Alvaro 14. 11. 2018. 03:44:00
#8 Objavljeno: 14. 11. 2018. 03:48:17
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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,9 KiB) preuzeto 1604 put(ova).

Best regards.
Alvaro.
1 korisnika je svidelo ovu objavu
frapuano 14. 11. 2018. 04:17:00
#9 Objavljeno: 14. 11. 2018. 07:28:45
Fridel Selitsky

Fridel Selitsky

520 svidjanja u 451 postova.

Grupa: User

Thank you Alvaro, impressive work.
#10 Objavljeno: 14. 11. 2018. 15:04:53
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

Jean's example

Clipboard01.gif

Best regards.
Alvaro.
1 korisnika je svidelo ovu objavu
frapuano 14. 11. 2018. 16:24:00
#11 Objavljeno: 14. 11. 2018. 22:03:44
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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,98 KiB) preuzeto 1653 put(ova).
#12 Objavljeno: 15. 11. 2018. 02:19:52
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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,91 KiB) preuzeto 1425 put(ova).
#13 Objavljeno: 15. 11. 2018. 18:14:59
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

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

Numerical Contour Integral - SMath.pdf (85,78 KiB) preuzeto 934 put(ova).
Numerical Contour Integral - SMath.sm (57,87 KiB) preuzeto 1663 put(ova).
Numerical Contour Integral - Mathcad.pdf (91,02 KiB) preuzeto 1098 put(ova).

Best regards.
Alvaro.
#14 Objavljeno: 5. 12. 2018. 03:30:27
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

It takes a lot, but it looks great

ElectricField.sm (127,11 KiB) preuzeto 1581 put(ova).

Clipboard01.gif

Best regards.
Alvaro.

3 korisnika je svidelo ovu objavu
Arie 5. 12. 2018. 10:24:00, Fridel Selitsky 5. 12. 2018. 11:35:00, frapuano 5. 12. 2018. 15:01:00
#15 Objavljeno: 10. 12. 2020. 03:02:31
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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,27 KiB) preuzeto 1647 put(ova).

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 korisnika je svidelo ovu objavu
Andrey Ivashov 10. 12. 2020. 11:49:00
#16 Objavljeno: 13. 12. 2020. 21:15:26
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 14. 12. 2020. 04:11:30
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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 Objavljeno: 14. 12. 2020. 07:15:24
Вячеслав Мезенцев

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

1.558 svidjanja u 1.868 postova.

Grupa: 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 Objavljeno: 14. 12. 2020. 09:34:53
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 15. 12. 2020. 04:16:54
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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.
  • Novi postovi
  • Nema novih postova