X-Y Plot Region

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

#581 Posted: 11/11/2024 2:04:35 PM
ioan92

ioan92

171 likes in 102 posts.

Group: User

There's no better option than having choices.

Procrustes solution must be banned:

https://en.wikipedia.org/wiki/Procrustes ...
Do to others as you would like them to do to you! Knowledge is of no value unless you put it into practice - Chekhov
#582 Posted: 11/11/2024 2:36:21 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

You should understand that the flexibility of implementation (the ability to choose) is limited by future compatibility. It's like in the structure of DNA - you drag all the garbage of evolution along with you and must support it. Each new "mutation" of the component must be compatible or include all the previous ones, so as not to break thousands of documents. This is especially true for the appearance, which must always be unambiguously restored from the saved document.
You can now use the UseDefault property, but when transferring a document to another user who doesn't have a new version of the component or doesn't want to install it, the appearance should not change much. The other user will not see your settings, because the old version of the plugin doesn't know anything about it.

You should understand that your request to restore the standard behavior of the component will break the appearance of already created documents. I think about this for you, but next time you should also imagine how your preferences will affect thousands of already created documents. I showed examples above.

So freedom of choice is to allow many users to work as they are used to and not break their work, ensuring compatibility in both directions. This is a difficult task. That is why I sometimes refuse to make changes, because the overall picture of the consequences may not be clear and require significant research.
Russia ☭ forever, Viacheslav N. Mezentsev
#583 Posted: 11/11/2024 3:20:37 PM
ioan92

ioan92

171 likes in 102 posts.

Group: User

Right,
Compatibility - great feature and hard task. Thanks to Andrey and to all the developers.

While talking about freedom, what about the creation of a user’s function totally encapsulated. This must be simpler than the graphical tools (?)…
This could produce “happiness” to more than one…

Have a nice day.
Do to others as you would like them to do to you! Knowledge is of no value unless you put it into practice - Chekhov
#584 Posted: 11/12/2024 12:58:20 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

While talking about freedom, what about the creation of a user’s function totally encapsulated. This must be simpler than the graphical tools (?)…
This could produce “happiness” to more than one…

Have a nice day.



I don't think it is completely possible plugin-side, as there is no direct connection with the evaluation operator (I.e. a sandbox(...) function on the RHS won't be able to connect to the arguments of a function on the LHS); also I'm not sure you can keep sealed the assignments from the global context without some very strict rule.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
ioan92 11/12/2024 1:08:00 AM
#585 Posted: 11/12/2024 1:39:18 AM
ioan92

ioan92

171 likes in 102 posts.

Group: User

Thanks for the answer.

So, the only solution is in Andrey's hands?

However, there is a model, that of imbedded (eg. trigonometrical) functions.

I imagine that there are many peoples annoyed to perpetually decorate the local variable with @; #; $ etc.
Do to others as you would like them to do to you! Knowledge is of no value unless you put it into practice - Chekhov
#586 Posted: 11/12/2024 2:38:34 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

I imagine that there are many peoples annoyed to perpetually decorate the local variable with @; #; $ etc.



It's a safe approach but it's not really needed since the introduction of the built-in Clear() function. You can place a Clear(all_variables_I_want_local_used_in_the_function) and you are done; it's also very similar to declaring the local variables before using them.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
sergio 11/12/2024 3:50:00 PM
#587 Posted: 11/12/2024 3:10:04 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

- added support for copying a set of properties.

The following properties are not currently supported: Name, Points, Traces.

The property set contains the current values ​​of the component settings. They can be used as a template. To control the component, they must be located above it in the document.

File not found. File not found.
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
Alvaro Diaz Falconi 11/12/2024 5:56:00 AM, sergio 11/12/2024 3:50:00 PM
#588 Posted: 11/12/2024 3:55:28 AM
ioan92

ioan92

171 likes in 102 posts.

Group: User

https://en.smath.com/forum/yaf_postsm86081_X-Y-Plot-Region.aspx#post86081

@Davide,

I also use Clear, but, IMHO, the use of Clear can destroy values useful later.
Do to others as you would like them to do to you! Knowledge is of no value unless you put it into practice - Chekhov
#589 Posted: 11/12/2024 5:09:29 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

- added support for copying a set of properties (Points, Traces#n).

The following property is not supported: XYPlot.Name. This is for safety.

The property set contains the current values ​​of the component settings. They can be used as a template. To control the component, they must be located above it in the document.

When copying the properties of a curve, the component name must be corrected by yourself, since it is equal to "XYPlot". It's hard to automate this part.

File not found. File not found.
Russia ☭ forever, Viacheslav N. Mezentsev
3 users liked this post
NDTM Amarasekera 11/12/2024 9:09:00 PM, Oscar Campo 11/12/2024 5:43:00 PM, sergio 11/13/2024 12:49:00 AM
#590 Posted: 11/12/2024 10:27:01 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Should we assume these new Copy options are not working on linux?
#591 Posted: 11/12/2024 10:51:14 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Wrote

Should we assume these new Copy options are not working on linux?


Should work under Linux, I can't check.

This is not a new feature, but a feature that has been used for some time to manage the component. The copy feature was added to avoid having to remember the full names of the component properties.

Russia ☭ forever, Viacheslav N. Mezentsev
#592 Posted: 11/12/2024 11:12:23 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Yes, now I see, everything is different in Mono. I haven't launched the program in Linux for a long time.
There needs to be some research done here to find out why Linux is so bad.

xyplot-copy-properties-linux.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
#593 Posted: 11/12/2024 11:22:13 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Copying doesn't work, but managing component properties does.

Click to enlarge
Russia ☭ forever, Viacheslav N. Mezentsev
#594 Posted: 11/16/2024 9:13:01 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

- fixed the problem with drawing images;
- some demo examples are inserted from looped lists, these examples are separated from constant ones.

xyplot-drawimage-file.sm (7 KiB) downloaded 79 time(s).
xyplot-drawimage-tag.sm (67 KiB) downloaded 77 time(s).
xyplot-drawimage-mat.sm (8 KiB) downloaded 79 time(s).
xyplot-drawimage-mat-rgb.sm (18 KiB) downloaded 73 time(s).
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
Alvaro Diaz Falconi 11/18/2024 9:40:00 AM, sergio 11/18/2024 4:31:00 PM
#595 Posted: 11/17/2024 1:08:46 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility

Plugin updated. Experimental build

Changes:

- added fill properties for LineStyle.

xyplot-linestyle-filled.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
4 users liked this post
Alvaro Diaz Falconi 11/18/2024 11:05:00 AM, Oscar Campo 11/17/2024 8:35:00 AM, overlord 11/17/2024 5:26:00 PM, Davide Carpi 11/19/2024 2:20:00 AM
#596 Posted: 11/17/2024 1:32:34 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

- fixed filling for lines.
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
Alvaro Diaz Falconi 11/18/2024 11:04:00 AM, overlord 11/17/2024 5:26:00 PM
#597 Posted: 11/17/2024 3:26:18 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

- filling support expanded.

xyplot-parametric-filled.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
3 users liked this post
Davide Carpi 11/19/2024 2:20:00 AM, Alvaro Diaz Falconi 11/18/2024 9:40:00 AM, overlord 11/17/2024 5:26:00 PM
#598 Posted: 11/18/2024 3:09:16 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility

Plugin updated.

Changes:

- added hatch properties for LineStyle.

I will probably move the filling into a separate property (FillStyle). So do not rush to publish documents with new properties.

xyplot-linestyle-hatched.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
3 users liked this post
Davide Carpi 11/19/2024 2:20:00 AM, Alvaro Diaz Falconi 11/18/2024 9:40:00 AM, sergio 11/18/2024 4:33:00 PM
#599 Posted: 11/18/2024 11:03:54 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: User

Some Basic Image Manipulations.

imgbas.png

Image-Basic.pdf (3 MiB) downloaded 56 time(s).

Image-Basic.sm (2 MiB) downloaded 64 time(s).

Best regards.
Alvaro.
3 users liked this post
francesco rapuano 11/18/2024 2:25:00 PM, sergio 11/18/2024 4:33:00 PM, Вячеслав Мезенцев 11/18/2024 11:45:00 AM
#600 Posted: 11/18/2024 2:28:12 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility History page Changes

Plugin updated.

Changes:

- fixed hatch with disabled filling (transparent background is used).
Russia ☭ forever, Viacheslav N. Mezentsev
3 users liked this post
sergio 11/18/2024 4:33:00 PM, francesco rapuano 11/18/2024 6:34:00 PM, NDTM Amarasekera 11/18/2024 6:42:00 PM
  • New Posts New Posts
  • No New Posts No New Posts