Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

31 Pages«<28293031>
Options
Go to last post Go to first unread
Offline ioan92  
#581 Posted : 11 November 2024 20:04:35(UTC)
ioan92


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2012(UTC)
Posts: 94
France, Metropolitan

Was thanked: 169 time(s) in 132 post(s)
There's no better option than having choices.

Procrustes solution must be banned:

https://en.wikipedia.org/wiki/Procrustes ...

Edited by moderator 18 November 2024 05:40:07(UTC)  | Reason: Not specified

Do to others as you would like them to do to you!
Knowledge is of no value unless you put it into practice - Chekhov
Offline uni  
#582 Posted : 11 November 2024 20:36:21(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,620
Man
Russian Federation

Was thanked: 1382 time(s) in 806 post(s)
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 (git.io/vOZo0)
Viacheslav N. Mezentsev
Offline ioan92  
#583 Posted : 11 November 2024 21:20:37(UTC)
ioan92


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2012(UTC)
Posts: 94
France, Metropolitan

Was thanked: 169 time(s) in 132 post(s)
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.

Edited by user 12 November 2024 01:01:47(UTC)  | Reason: Not specified

Do to others as you would like them to do to you!
Knowledge is of no value unless you put it into practice - Chekhov
Offline Davide Carpi  
#584 Posted : 12 November 2024 06:58:20(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,713
Man
Italy
Location: Italy

Was thanked: 1378 time(s) in 902 post(s)
Originally Posted by: ioan92 Go to Quoted Post
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.

Edited by user 12 November 2024 07:01:47(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 12/11/2024(UTC)
Offline ioan92  
#585 Posted : 12 November 2024 07:39:18(UTC)
ioan92


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2012(UTC)
Posts: 94
France, Metropolitan

Was thanked: 169 time(s) in 132 post(s)
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
Offline Davide Carpi  
#586 Posted : 12 November 2024 08:38:34(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,713
Man
Italy
Location: Italy

Was thanked: 1378 time(s) in 902 post(s)
Originally Posted by: ioan92 Go to Quoted Post
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.

Edited by user 12 November 2024 08:57:15(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 12/11/2024(UTC)
Offline uni  
#587 Posted : 12 November 2024 09:10:04(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,620
Man
Russian Federation

Was thanked: 1382 time(s) in 806 post(s)
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.

xyplot-copy-properties.jpg xyplot-paste-properties.jpg
Russia ☭ forever (git.io/vOZo0)
Viacheslav N. Mezentsev
thanks 2 users thanked uni for this useful post.
on 12/11/2024(UTC),  on 12/11/2024(UTC)
Offline ioan92  
#588 Posted : 12 November 2024 09:55:28(UTC)
ioan92


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2012(UTC)
Posts: 94
France, Metropolitan

Was thanked: 169 time(s) in 132 post(s)
https://en.smath.com/forum/yaf_p...ot-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
Offline uni  
#589 Posted : 12 November 2024 23:09:29(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,620
Man
Russian Federation

Was thanked: 1382 time(s) in 806 post(s)
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.

xyplot-copy-trace-properties.jpg xyplot-copy-linestyle-properties.jpg

Edited by user 12 November 2024 23:47:31(UTC)  | Reason: Not specified

Russia ☭ forever (git.io/vOZo0)
Viacheslav N. Mezentsev
thanks 3 users thanked uni for this useful post.
on 12/11/2024(UTC),  on 13/11/2024(UTC),  on 13/11/2024(UTC)
Offline overlord  
#590 Posted : 13 November 2024 04:27:01(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,173
Turkey

Was thanked: 534 time(s) in 358 post(s)
Should we assume these new Copy options are not working on linux?
Offline uni  
#591 Posted : 13 November 2024 04:51:14(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,620
Man
Russian Federation

Was thanked: 1382 time(s) in 806 post(s)
Originally Posted by: overlord Go to Quoted Post
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 (git.io/vOZo0)
Viacheslav N. Mezentsev
Offline uni  
#592 Posted : 13 November 2024 05:12:23(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,620
Man
Russian Federation

Was thanked: 1382 time(s) in 806 post(s)
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 (git.io/vOZo0)
Viacheslav N. Mezentsev
Offline uni  
#593 Posted : 13 November 2024 05:22:13(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,620
Man
Russian Federation

Was thanked: 1382 time(s) in 806 post(s)
Copying doesn't work, but managing component properties does.

Click to enlarge
Russia ☭ forever (git.io/vOZo0)
Viacheslav N. Mezentsev
Offline uni  
#594 Posted : 17 November 2024 03:13:01(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,620
Man
Russian Federation

Was thanked: 1382 time(s) in 806 post(s)
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 (8kb) downloaded 17 time(s).
xyplot-drawimage-tag.sm (68kb) downloaded 18 time(s).
xyplot-drawimage-mat.sm (9kb) downloaded 17 time(s).
xyplot-drawimage-mat-rgb.sm (19kb) downloaded 14 time(s).

Edited by user 17 November 2024 04:21:32(UTC)  | Reason: Not specified

Russia ☭ forever (git.io/vOZo0)
Viacheslav N. Mezentsev
thanks 2 users thanked uni for this useful post.
on 18/11/2024(UTC),  on 18/11/2024(UTC)
Offline uni  
#595 Posted : 17 November 2024 07:08:46(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,620
Man
Russian Federation

Was thanked: 1382 time(s) in 806 post(s)
SMath Studio compatibility

Plugin updated. Experimental build Beta

Changes:

- added fill properties for LineStyle.

xyplot-linestyle-filled.jpg

Edited by user 17 November 2024 22:55:11(UTC)  | Reason: Not specified

Russia ☭ forever (git.io/vOZo0)
Viacheslav N. Mezentsev
thanks 4 users thanked uni for this useful post.
on 17/11/2024(UTC),  on 17/11/2024(UTC),  on 18/11/2024(UTC),  on 19/11/2024(UTC)
Offline uni  
#596 Posted : 17 November 2024 07:32:34(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,620
Man
Russian Federation

Was thanked: 1382 time(s) in 806 post(s)
SMath Studio compatibility

Plugin updated. Beta

Changes:

- fixed filling for lines.
Russia ☭ forever (git.io/vOZo0)
Viacheslav N. Mezentsev
thanks 2 users thanked uni for this useful post.
on 17/11/2024(UTC),  on 18/11/2024(UTC)
Offline uni  
#597 Posted : 17 November 2024 09:26:18(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,620
Man
Russian Federation

Was thanked: 1382 time(s) in 806 post(s)
SMath Studio compatibility

Plugin updated.

Changes:

- filling support expanded.

xyplot-parametric-filled.jpg
Russia ☭ forever (git.io/vOZo0)
Viacheslav N. Mezentsev
thanks 3 users thanked uni for this useful post.
on 17/11/2024(UTC),  on 18/11/2024(UTC),  on 19/11/2024(UTC)
Offline uni  
#598 Posted : 18 November 2024 09:09:16(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,620
Man
Russian Federation

Was thanked: 1382 time(s) in 806 post(s)
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

Edited by user 18 November 2024 09:39:50(UTC)  | Reason: Not specified

Russia ☭ forever (git.io/vOZo0)
Viacheslav N. Mezentsev
thanks 3 users thanked uni for this useful post.
on 18/11/2024(UTC),  on 18/11/2024(UTC),  on 19/11/2024(UTC)
Offline Razonar  
#599 Posted : 18 November 2024 17:03:54(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,478
Uruguay

Was thanked: 930 time(s) in 590 post(s)
Some Basic Image Manipulations.

imgbas.png

Image-Basic.pdf (3,575kb) downloaded 4 time(s).

Image-Basic.sm (2,126kb) downloaded 10 time(s).

Best regards.
Alvaro.
thanks 3 users thanked Razonar for this useful post.
on 18/11/2024(UTC),  on 18/11/2024(UTC),  on 18/11/2024(UTC)
Offline uni  
#600 Posted : 18 November 2024 20:28:12(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,620
Man
Russian Federation

Was thanked: 1382 time(s) in 806 post(s)
SMath Studio compatibility History page Changes

Plugin updated.

Changes:

- fixed hatch with disabled filling (transparent background is used).

Edited by user 18 November 2024 21:00:58(UTC)  | Reason: Not specified

Russia ☭ forever (git.io/vOZo0)
Viacheslav N. Mezentsev
thanks 3 users thanked uni for this useful post.
on 18/11/2024(UTC),  on 19/11/2024(UTC),  on 19/11/2024(UTC)
Users browsing this topic
Similar Topics
X-Y Plot Region Plugin (Extensions)
by ndtma 24/06/2018 06:00:49(UTC)
X-Y Plot Region Plugin Problem (Questions)
by ndtma 20/06/2018 19:38:44(UTC)
31 Pages«<28293031>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.