X-Y Plot Region

X-Y Plot Region - Extends SMath Studio with a X-Y Plot Region. - 消息

#461 已发布: 2022/1/1 22:38:50
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: 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位用户喜欢此帖子
João Felipe Seráfico Melo 2022/1/2 21:36:00, sergio 2022/1/3 06:30:00, Alvaro 2022/1/2 08:45:00
#462 已发布: 2022/2/10 07:46:59
hanskl

hanskl

7个赞,共158个帖子。

组: User

Hi,

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

Best regards,
#463 已发布: 2022/2/10 10:32:14
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

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


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

hanskl

7个赞,共158个帖子。

组: 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 已发布: 2022/2/10 11:47:45
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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)已下载 1696 次。

#466 已发布: 2022/2/10 12:31:15
hanskl

hanskl

7个赞,共158个帖子。

组: 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)已下载 1696 次。



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

Best regards,
#467 已发布: 2022/2/10 16:23:19
hanskl

hanskl

7个赞,共158个帖子。

组: 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 已发布: 2022/2/10 16:55:01
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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 已发布: 2022/2/10 17:36:54
hanskl

hanskl

7个赞,共158个帖子。

组: 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 已发布: 2022/2/10 22:56:04
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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)已下载 1604 次。
#471 已发布: 2022/2/10 23:03:26
churichuro

churichuro

29个赞,共79个帖子。

组: User

check this post --> DISLIN plugin
#472 已发布: 2022/2/11 06:06:08
hanskl

hanskl

7个赞,共158个帖子。

组: User

Wrote

check this post --> DISLIN plugin



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

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

1,558个赞,共1,868个帖子。

组: 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 已发布: 2022/2/11 09:46:42
hanskl

hanskl

7个赞,共158个帖子。

组: 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 已发布: 2022/2/11 12:33:43
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: 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位用户喜欢此帖子
Mark R Harris 2022/11/27 02:25:00, Alvaro 2022/2/11 14:18:00, sergio 2022/2/11 16:02:00
#476 已发布: 2022/2/12 09:02:09
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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 已发布: 2022/2/13 11:54:28
overlord

overlord

600个赞,共1,381个帖子。

组: 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 已发布: 2022/2/14 04:52:43
hanskl

hanskl

7个赞,共158个帖子。

组: 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 已发布: 2022/6/23 15:37:44
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: 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位用户喜欢此帖子
Mark R Harris 2022/6/24 02:47:00, sergio 2022/6/23 15:59:00, João Felipe Seráfico Melo 2022/6/23 16:08:00
#480 已发布: 2022/6/26 06:37:07
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: 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位用户喜欢此帖子
sergio 2022/6/26 12:16:00
  • 有新帖
  • 无新帖