X-Y Plot Region

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

#461 Objavljeno: 1. 1. 2022. 22:38:50
Вячеслав Мезенцев

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

1.558 svidjanja u 1.868 postova.

Grupa: 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 korisnika je svidelo ovu objavu
João Felipe Seráfico Melo 2. 1. 2022. 21:36:00, sergio 3. 1. 2022. 06:30:00, Alvaro 2. 1. 2022. 08:45:00
#462 Objavljeno: 10. 2. 2022. 07:46:59
hanskl

hanskl

7 svidjanja u 158 postova.

Grupa: User

Hi,

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

Best regards,
#463 Objavljeno: 10. 2. 2022. 10:32:14
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

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


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

hanskl

7 svidjanja u 158 postova.

Grupa: 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 Objavljeno: 10. 2. 2022. 11:47:45
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1716 put(ova).

#466 Objavljeno: 10. 2. 2022. 12:31:15
hanskl

hanskl

7 svidjanja u 158 postova.

Grupa: 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) preuzeto 1716 put(ova).



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

Best regards,
#467 Objavljeno: 10. 2. 2022. 16:23:19
hanskl

hanskl

7 svidjanja u 158 postova.

Grupa: 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 Objavljeno: 10. 2. 2022. 16:55:01
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 10. 2. 2022. 17:36:54
hanskl

hanskl

7 svidjanja u 158 postova.

Grupa: 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 Objavljeno: 10. 2. 2022. 22:56:04
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1622 put(ova).
#471 Objavljeno: 10. 2. 2022. 23:03:26
churichuro

churichuro

29 svidjanja u 79 postova.

Grupa: User

check this post --> DISLIN plugin
#472 Objavljeno: 11. 2. 2022. 06:06:08
hanskl

hanskl

7 svidjanja u 158 postova.

Grupa: User

Wrote

check this post --> DISLIN plugin



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

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

1.558 svidjanja u 1.868 postova.

Grupa: 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 Objavljeno: 11. 2. 2022. 09:46:42
hanskl

hanskl

7 svidjanja u 158 postova.

Grupa: 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 Objavljeno: 11. 2. 2022. 12:33:43
Вячеслав Мезенцев

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

1.558 svidjanja u 1.868 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Mark R Harris 27. 11. 2022. 02:25:00, Alvaro 11. 2. 2022. 14:18:00, sergio 11. 2. 2022. 16:02:00
#476 Objavljeno: 12. 2. 2022. 09:02:09
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 13. 2. 2022. 11:54:28
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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 Objavljeno: 14. 2. 2022. 04:52:43
hanskl

hanskl

7 svidjanja u 158 postova.

Grupa: 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 Objavljeno: 23. 6. 2022. 15:37:44
Вячеслав Мезенцев

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

1.558 svidjanja u 1.868 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Mark R Harris 24. 6. 2022. 02:47:00, sergio 23. 6. 2022. 15:59:00, João Felipe Seráfico Melo 23. 6. 2022. 16:08:00
#480 Objavljeno: 26. 6. 2022. 06:37:07
Вячеслав Мезенцев

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

1.558 svidjanja u 1.868 postova.

Grupa: 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 korisnika je svidelo ovu objavu
sergio 26. 6. 2022. 12:16:00
  • Novi postovi
  • Nema novih postova