Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


2 Pages12>
Options
Go to last post Go to first unread
Offline Razonar  
#1 Posted : 12 November 2018 12:56:18(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Hi. 2D Vector Field plot

vfield.sm (110kb) downloaded 186 time(s).
vfield.pdf (194kb) downloaded 191 time(s).

Best regards.
Alvaro.
thanks 4 users thanked Razonar for this useful post.
on 12/11/2018(UTC),  on 12/11/2018(UTC),  on 12/11/2018(UTC),  on 12/11/2018(UTC)

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Jean Giraud  
#2 Posted : 12 November 2018 15:51:52(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Sorry Alvaro: all red SS6179
Offline Ber7  
#3 Posted : 13 November 2018 00:28:01(UTC)
Ber7


Rank: Advanced Member

Groups: Registered
Joined: 15/07/2010(UTC)
Posts: 437
Man
Israel
Location: Beer-Sheva

Was thanked: 520 time(s) in 288 post(s)
You can use a supplement that makes the lines monochrome.

vfieldMonochrome.sm (56kb) downloaded 108 time(s).
thanks 3 users thanked Ber7 for this useful post.
on 13/11/2018(UTC),  on 13/11/2018(UTC),  on 13/11/2018(UTC)
Offline Razonar  
#4 Posted : 13 November 2018 07:02:04(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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.
Offline Razonar  
#5 Posted : 13 November 2018 07:18:34(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: Ber7 Go to Quoted Post
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.

Offline Razonar  
#6 Posted : 14 November 2018 00:21:08(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Improved with the Ber suggestion. Also, some explanation about the vectors added.

vfield.sm (125kb) downloaded 92 time(s).

Best regards.
Alvaro.
thanks 1 user thanked Razonar for this useful post.
on 14/11/2018(UTC)
Offline Jean Giraud  
#7 Posted : 14 November 2018 08:15:58(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Razonar Go to Quoted Post
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 (206kb) downloaded 75 time(s).


thanks 1 user thanked Jean Giraud for this useful post.
on 14/11/2018(UTC)
Offline Razonar  
#8 Posted : 14 November 2018 09:48:17(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post

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 (138kb) downloaded 100 time(s).

Best regards.
Alvaro.
thanks 1 user thanked Razonar for this useful post.
on 14/11/2018(UTC)
Offline Ber7  
#9 Posted : 14 November 2018 13:28:45(UTC)
Ber7


Rank: Advanced Member

Groups: Registered
Joined: 15/07/2010(UTC)
Posts: 437
Man
Israel
Location: Beer-Sheva

Was thanked: 520 time(s) in 288 post(s)
Thank you Alvaro, impressive work.
Offline Razonar  
#10 Posted : 14 November 2018 21:04:53(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Jean's example

Clipboard01.gif

Best regards.
Alvaro.
thanks 1 user thanked Razonar for this useful post.
on 14/11/2018(UTC)
Offline Jean Giraud  
#11 Posted : 15 November 2018 04:03:44(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Razonar Go to Quoted Post
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 (145kb) downloaded 73 time(s).
Offline Jean Giraud  
#12 Posted : 15 November 2018 08:19:52(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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 (32kb) downloaded 84 time(s).
Offline Razonar  
#13 Posted : 16 November 2018 00:14:59(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Numerical Contour integral, as it figure in the mathcad quick sheets.

Numerical Contour Integral - SMath.pdf (86kb) downloaded 82 time(s).
Numerical Contour Integral - SMath.sm (58kb) downloaded 94 time(s).
Numerical Contour Integral - Mathcad.pdf (92kb) downloaded 73 time(s).

Best regards.
Alvaro.
Offline Razonar  
#14 Posted : 05 December 2018 09:30:27(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
It takes a lot, but it looks great

ElectricField.sm (128kb) downloaded 93 time(s).

Clipboard01.gif

Best regards.
Alvaro.

thanks 3 users thanked Razonar for this useful post.
on 05/12/2018(UTC),  on 05/12/2018(UTC),  on 05/12/2018(UTC)
Offline Razonar  
#15 Posted : 10 December 2020 09:02:31(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
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 (133kb) downloaded 69 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.

Edited by user 10 December 2020 09:07:31(UTC)  | Reason: Not specified

thanks 1 user thanked Razonar for this useful post.
on 10/12/2020(UTC)
Offline Jean Giraud  
#16 Posted : 14 December 2020 03:15:26(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Razonar Go to Quoted Post
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.
Offline Razonar  
#17 Posted : 14 December 2020 10:11:30(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: Razonar Go to Quoted Post
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.
Offline uni  
#18 Posted : 14 December 2020 13:15:24(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
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
Offline Jean Giraud  
#19 Posted : 14 December 2020 15:34:53(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
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
Offline Razonar  
#20 Posted : 15 December 2020 10:16:54(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: uni Go to Quoted Post
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.
Users browsing this topic
Guest
2 Pages12>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.