X-Y Plot Region - Extends SMath Studio with a X-Y Plot Region. - Messages
#581 Posted: 11/11/2024 2:04:35 PM
There's no better option than having choices.
Procrustes solution must be banned:
https://en.wikipedia.org/wiki/Procrustes ...
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
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.
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
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.
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
WroteWhile 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
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.
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
WroteI 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

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
#588 Posted: 11/12/2024 3:55:28 AM
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.
@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

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
Should we assume these new Copy options are not working on linux?
#591 Posted: 11/12/2024 10:51:14 PM
WroteShould 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
#593 Posted: 11/12/2024 11:22:13 PM
#594 Posted: 11/16/2024 9:13:01 PM

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 43 time(s).
xyplot-drawimage-tag.sm (67 KiB) downloaded 42 time(s).
xyplot-drawimage-mat.sm (8 KiB) downloaded 44 time(s).
xyplot-drawimage-mat-rgb.sm (18 KiB) downloaded 40 time(s).
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
#595 Posted: 11/17/2024 1:08:46 AM
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
#597 Posted: 11/17/2024 3:26:18 AM
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
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
Some Basic Image Manipulations.

Image-Basic.pdf (3 MiB) downloaded 26 time(s).
Image-Basic.sm (2 MiB) downloaded 37 time(s).
Best regards.
Alvaro.
Image-Basic.pdf (3 MiB) downloaded 26 time(s).
Image-Basic.sm (2 MiB) downloaded 37 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
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
-
No New Posts