X-Y Plot Region

X-Y Plot Region - Extends SMath Studio with a X-Y Plot Region. - Messages

#461 Posted: 1/1/2022 10:38:50 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

- fixed the problem of reaction to the mouse wheel outside the region window;
- returned the green frame that appears during long calculations.
Russia ☭ forever, Viacheslav N. Mezentsev
3 users liked this post
sergio 1/3/2022 6:30:00 AM, Alvaro Diaz Falconi 1/2/2022 8:45:00 AM, João Felipe Seráfico Melo 1/2/2022 9:36:00 PM
#462 Posted: 2/10/2022 7:46:59 AM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Hi,

Is it possible to set properties for traces using setprop()?

Best regards,
#463 Posted: 2/10/2022 10:32:14 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Is it possible to set properties for traces using setprop()?


Function(s) ... data set(s) will help.
Cheers ... Jean.
#464 Posted: 2/10/2022 10:41:25 AM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Wrote

Wrote

Is it possible to set properties for traces using setprop()?


Function(s) ... data set(s) will help.
Cheers ... Jean.



Hi Jean,

I'm not following.. can you give an example?

Best regards,
#465 Posted: 2/10/2022 11:47:45 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Hi Jean,
I'm not following.. can you give an example?


Often, X_Y plot needs supplementary preparation,
like Joukowsky attached ... Jean.

VectorField StreamLines Joukowsky Airfoil Copy.sm (38 KiB) downloaded 77 time(s).

#466 Posted: 2/10/2022 12:31:15 PM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Wrote

Wrote

Hi Jean,
I'm not following.. can you give an example?


Often, X_Y plot needs supplementary preparation,
like Joukowsky attached ... Jean.

VectorField StreamLines Joukowsky Airfoil Copy.sm (38 KiB) downloaded 77 time(s).



Thanks, interesting example, but it does not give me what I desire..

Best regards,
#467 Posted: 2/10/2022 4:23:19 PM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Wrote

You mentioned setprop ... What is setprop in Native SS 6179 ?
No problem to plot your function(s) or data set(s).
At this point, you have nothing to plot yet !
You have attached files in the past, today is your day.
Cheers ... Jean.



setprop is a function that lets you set properties for X-Y Plot from the sheet, like so.
I was wondering if it is possible to set properties in the "Traces" section of the properties-box.

Best regards,

#468 Posted: 2/10/2022 4:55:01 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

setprop is a function that lets you set properties for X-Y Plot from the sheet, like so.
I was wondering if it is possible to set properties in the "Traces" section of the properties-box.


Simply, exercise setprop Joukowsky example.
Traces [list] is only: color, size splines/line, symbols ...
In no case it can prepare the plot argument(s).
Sorry, can't help ... Jean.
#469 Posted: 2/10/2022 5:36:54 PM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Wrote

Wrote

setprop is a function that lets you set properties for X-Y Plot from the sheet, like so.
I was wondering if it is possible to set properties in the "Traces" section of the properties-box.


Simply, exercise setprop Joukowsky example.
Traces [list] is only: color, size splines/line, symbols ...
In no case it can prepare the plot argument(s).
Sorry, can't help ... Jean.



In your example, the color of the traces are set by manipulating the order they are plotted in. I could also do that in my case, but I also want to set different line types as well.
This is the fashion I want to set these properties in, if possible.

setprop.PNG

Best regards,
#470 Posted: 2/10/2022 10:56:04 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

but I also want to set different line types as well.


line types colors ... belong to the X_Y Plugin.
Even if you could do some, in many pages long,
then you would dream of a drop down menu as actual.
One you will not do is line spline ... immensely useful.
Cheers ... Jean.

2D Isometric Copy.sm (56 KiB) downloaded 68 time(s).
#471 Posted: 2/10/2022 11:03:26 PM
churichuro

churichuro

28 likes in 79 posts.

Group: User

check this post --> DISLIN plugin
#472 Posted: 2/11/2022 6:06:08 AM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Wrote

check this post --> DISLIN plugin



Thanks, I will look into that plugin.
#473 Posted: 2/11/2022 7:27:11 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Wrote

Is it possible to set properties for traces using setprop()?


No, now it is not possible. I've written code for this, but haven't tested it yet. It's a little more difficult.

Russia ☭ forever, Viacheslav N. Mezentsev
#474 Posted: 2/11/2022 9:46:42 AM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Wrote

Wrote

Is it possible to set properties for traces using setprop()?


No, now it is not possible. I've written code for this, but haven't tested it yet. It's a little more difficult.



Thanks for the clarification. Are you planning to implement it?
#475 Posted: 2/11/2022 12:33:43 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Wrote

Thanks for the clarification. Are you planning to implement it?


There is another method by which you can get the same result. But it still exists as an idea. The implementation of the setprop() function uses a technique that I would not recommend for use. A new idea requires a redesign of the storage format and appearance, which I don't have time for.
I already wrote that we have few resources to maintain the code well. At the moment I'm doing cosmetic changes and simple improvements in the existing code.
Sometimes I need a little inspiration to make a significant revision. Now I can't promise to expand the functionality.

Russia ☭ forever, Viacheslav N. Mezentsev
3 users liked this post
sergio 2/11/2022 4:02:00 PM, Alvaro Diaz Falconi 2/11/2022 2:18:00 PM, Mark R Harris 11/27/2022 2:25:00 AM
#476 Posted: 2/12/2022 9:02:09 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

This is the fashion I want to set these properties in, if possible.


Eventually, you may not know what will plot, what will NOT plot.
For instance, erf(x) is not scalar in Smath and capricious.
Per say, NON-linear integration rejects erf(x) as the NON-linear path.

erf plot.PNG
#477 Posted: 2/13/2022 11:54:28 AM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Wrote

Wrote

This is the fashion I want to set these properties in, if possible.


Eventually, you may not know what will plot, what will NOT plot.
For instance, erf(x) is not scalar in Smath and capricious.
Per say, NON-linear integration rejects erf(x) as the NON-linear path.


Not related with quoted question.
#478 Posted: 2/14/2022 4:52:43 AM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Wrote

Wrote

Thanks for the clarification. Are you planning to implement it?


There is another method by which you can get the same result. But it still exists as an idea. The implementation of the setprop() function uses a technique that I would not recommend for use. A new idea requires a redesign of the storage format and appearance, which I don't have time for.
I already wrote that we have few resources to maintain the code well. At the moment I'm doing cosmetic changes and simple improvements in the existing code.
Sometimes I need a little inspiration to make a significant revision. Now I can't promise to expand the functionality.



Well I hope you some day find the time and inspiration to do so. SMath is great, but it is even better with all the useful plugins you and others develop and support.

Best regards,
#479 Posted: 6/23/2022 3:37:44 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

- added support for primitives: "-" and "|";
- minor cosmetic fixes.

X-Y plot update.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
3 users liked this post
sergio 6/23/2022 3:59:00 PM, João Felipe Seráfico Melo 6/23/2022 4:08:00 PM, Mark R Harris 6/24/2022 2:47:00 AM
#480 Posted: 6/26/2022 6:37:07 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

If you sometimes see a similar problem, then this is an error in the operation of a parallel algorithm used to speed up data processing. My implementation is not done very carefully, so for now I have to observe this behavior. The hardest part about implementing plugins is taking into account a lot of implicit little details.

X-Y Plot parallel algorithm issue.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
sergio 6/26/2022 12:16:00 PM
  • New Posts New Posts
  • No New Posts No New Posts