X-Y Plot Region

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

#461 Pubblicato: 01/01/2022 22:38:50
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 utenti hanno apprezzato questo post
João Felipe Seráfico Melo 02/01/2022 21:36:00, sergio 03/01/2022 06:30:00, Alvaro 02/01/2022 08:45:00
#462 Pubblicato: 10/02/2022 07:46:59
hanskl

hanskl

7 apprezzamenti in 158 post.

Gruppo: User

Hi,

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

Best regards,
#463 Pubblicato: 10/02/2022 10:32:14
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

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


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

hanskl

7 apprezzamenti in 158 post.

Gruppo: 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 Pubblicato: 10/02/2022 11:47:45
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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,43 KiB) scaricato 1680 volta(e).

#466 Pubblicato: 10/02/2022 12:31:15
hanskl

hanskl

7 apprezzamenti in 158 post.

Gruppo: 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,43 KiB) scaricato 1680 volta(e).



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

Best regards,
#467 Pubblicato: 10/02/2022 16:23:19
hanskl

hanskl

7 apprezzamenti in 158 post.

Gruppo: 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 Pubblicato: 10/02/2022 16:55:01
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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 Pubblicato: 10/02/2022 17:36:54
hanskl

hanskl

7 apprezzamenti in 158 post.

Gruppo: 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 Pubblicato: 10/02/2022 22:56:04
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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,71 KiB) scaricato 1589 volta(e).
#471 Pubblicato: 10/02/2022 23:03:26
churichuro

churichuro

29 apprezzamenti in 79 post.

Gruppo: User

check this post --> DISLIN plugin
#472 Pubblicato: 11/02/2022 06:06:08
hanskl

hanskl

7 apprezzamenti in 158 post.

Gruppo: User

Wrote

check this post --> DISLIN plugin



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

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 Pubblicato: 11/02/2022 09:46:42
hanskl

hanskl

7 apprezzamenti in 158 post.

Gruppo: 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 Pubblicato: 11/02/2022 12:33:43
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 utenti hanno apprezzato questo post
Mark R Harris 27/11/2022 02:25:00, Alvaro 11/02/2022 14:18:00, sergio 11/02/2022 16:02:00
#476 Pubblicato: 12/02/2022 09:02:09
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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 Pubblicato: 13/02/2022 11:54:28
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: 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 Pubblicato: 14/02/2022 04:52:43
hanskl

hanskl

7 apprezzamenti in 158 post.

Gruppo: 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 Pubblicato: 23/06/2022 15:37:44
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 utenti hanno apprezzato questo post
Mark R Harris 24/06/2022 02:47:00, sergio 23/06/2022 15:59:00, João Felipe Seráfico Melo 23/06/2022 16:08:00
#480 Pubblicato: 26/06/2022 06:37:07
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 utenti hanno apprezzato questo post
sergio 26/06/2022 12:16:00
  • Nuovi post
  • Nessun nuovo post