X-Y Plot Region

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

#561 Posted: 10/3/2024 5:03:24 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Finally it will be possible. Just an announcement.

Click to enlarge Click to enlarge
Russia ☭ forever, Viacheslav N. Mezentsev
#562 Posted: 10/4/2024 12:39:11 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility

Plugin updated. Please try.

Changes:

- added the ability to change trace properties from the document.

Click to enlarge

xyplot-set-properties-traces.pdf (35 KiB) downloaded 33 time(s).
xyplot-set-properties-traces.sm (10 KiB) downloaded 34 time(s).
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
Alvaro Diaz Falconi 10/4/2024 12:05:00 PM, sergio 10/4/2024 1:03:00 AM
#563 Posted: 10/4/2024 3:22:18 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility

Plugin updated. Please try.

Changes:

- added the ability to change trace properties using setprop() function.

Click to enlarge

xyplot-setprop-traces.pdf (34 KiB) downloaded 32 time(s).
xyplot-setprop-traces.sm (12 KiB) downloaded 34 time(s).

Please do not use the setprop() function in new documents. There is a difference between how this function works and setting properties without it in a document. The setprop() function returns the result of the success of the property change operation. Therefore, it is triggered at the place of calculation. In the new architecture, all expressions are analyzed already during the operation of the component itself. The implementation of the function is done indirectly in relation to the component, which may lead to integrity problems in the future. This was a working prototype that allowed me to come to a simpler and more convenient solution. It would be better if you skip the stage of using the prototype. It will be removed in a few years in order not to break existing documents.
Russia ☭ forever, Viacheslav N. Mezentsev
#564 Posted: 10/13/2024 3:41:44 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Next time I'll try to remove the brackets.

xyplot-set-properties-without-brackets.PNG
Russia ☭ forever, Viacheslav N. Mezentsev
#565 Posted: 10/16/2024 5:18:51 PM
ioan92

ioan92

171 likes in 102 posts.

Group: User

Hi Viacheslav,

I have a small "cosmetically" proposal for your X-Y Plot Plugin:
Could you activate "BorderOn":
Border On.png
It seems that as it is now, it is impossible to draw borders.

Thanks,
Ioan
Do to others as you would like them to do to you! Knowledge is of no value unless you put it into practice - Chekhov
#566 Posted: 10/16/2024 7:46:55 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

I need to remember why I removed it. Then we'll see.
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
ioan92 10/16/2024 7:53:00 PM
#567 Posted: 10/22/2024 11:02:15 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

I don't use border anywhere because it looks bad when the component has focus. At the same time, a dimension frame appears along with the border, which looks ugly. I have no way to influence this, except to disable the border display. You can see this behavior in a regular 2D plot region.
I can restore the frame display if it looks good in different usage modes. In addition to the border, there is also a red error frame and a green frame if the component takes a long time to calculate. They should not interfere with each other.
Russia ☭ forever, Viacheslav N. Mezentsev
#568 Posted: 10/22/2024 11:42:54 PM
ioan92

ioan92

171 likes in 102 posts.

Group: User

Hi Viacheslav,

Thanks for your answer.

IMHO, things are a little bit simpler.

Let's start with the fact that on a SMath page any region can be affected or not by a border.

The fact that the border looks good or no is simply a user's problem because it is only an option.

Even the native "2D plot" object has the possibility of receiving or not a border.

This seems like being a selected option at the creation of the object by you.

Best regards,
Ioan

Do to others as you would like them to do to you! Knowledge is of no value unless you put it into practice - Chekhov
#569 Posted: 10/23/2024 1:50:45 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

You may have noticed that I don't use borders in my plugins: X-Y Plot, ZedGraph, NPlot, MathcadBlock. I am not only a developer but also a user. As a user, I like clean design.
Russia ☭ forever, Viacheslav N. Mezentsev
#570 Posted: 10/23/2024 3:28:42 AM
ioan92

ioan92

171 likes in 102 posts.

Group: User

Of course, I had no intention of forcing you; you are the author, and I’m grateful with your excellent work.

As well you as any other, we can have preferences that are not always the same as those of others'. What’s the best is, in my modest opinion, when we have options to satisfy our preferences, without disturbing the others'.

I promise, I do not insist more, but honestly, there is no any serious objection to refuse my proposal.
Do to others as you would like them to do to you! Knowledge is of no value unless you put it into practice - Chekhov
#571 Posted: 10/25/2024 12:49:42 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi. Inefficient, but short. And illustrative.

Filling in an XYPlot.png

Filling in an XYPlot.sm (11 KiB) downloaded 32 time(s).

Best regards.
Alvaro.
1 users liked this post
Вячеслав Мезенцев 10/25/2024 8:34:00 PM
#572 Posted: 10/25/2024 1:49:40 AM
ioan92

ioan92

171 likes in 102 posts.

Group: User

Hi Alvaro,

I beg you to pardon, but, if your reference is to my demand, we are talking about different things.

My proposal concerns only the external border, which is commonly an option, available for all Smath native objects and is very simple to activate or no.

Viacheslav motivated his choice on what he calls “clean design”.

I do not see any reason to forbid something that, in the spirit of Smath, is nothing more than a feature and an option.

Best regards,
Ioan

Do to others as you would like them to do to you! Knowledge is of no value unless you put it into practice - Chekhov
#573 Posted: 10/25/2024 5:31:16 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Wrote

... I beg you to pardon, but, if your reference is to my demand, we are talking about different things. ...



Hi Ioan. No. It is about showing one more technique to perform the proposed task, in addition to those that already exist using CreateMesh (here or here, GPC plugin (somewhere in the forum), snippets (first example here) among several other contributions that others have made in this forum.

Best regards.
Alvaro.
1 users liked this post
ioan92 10/25/2024 5:51:00 PM
#574 Posted: 10/26/2024 1:17:07 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

In the next version of SMath Studio you will see what clean design is in my understanding. Even Andrey couldn't resist. He showed me a new look for curly brackets.
I have long been asked to make brackets for Mathcad Block that depend on the selected type of operation. I have been looking for a suitable type of vector curve for this for a long time and only recently found it.
Many of my components do not support setting a background color. This is because I like the grid on the document and it looks much better with transparency. I could have returned the background too, but transparent color is not supported. It was easier for me to just discard the background fill.
So far no one has complained.
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
sergio 10/26/2024 2:46:00 PM
#575 Posted: 11/9/2024 7:58:15 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility

Plugin updated. Now you can add simple primitives from the context menu. This is for beginners.

Changes:

- "Add element" menu item added.

xyplot-add-element.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
Martin Kraska 11/10/2024 1:13:00 AM, churichuro 11/9/2024 11:48:00 PM
#576 Posted: 11/10/2024 8:39:21 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

SMath Studio compatibility

Wrote

It seems that as it is now, it is impossible to draw borders.


Plugin updated. Now you can change style to default.

Changes:

- fixed a bug when scaling with the mouse wheel on the axes;
- "UseDefault" property added to the plot style.

xyplot-style-usedefault.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
3 users liked this post
Davide Carpi 11/10/2024 9:32:00 PM, ioan92 11/11/2024 12:01:00 AM, NDTM Amarasekera 11/10/2024 9:06:00 PM
#577 Posted: 11/10/2024 11:59:57 PM
ioan92

ioan92

171 likes in 102 posts.

Group: User

Thanks,
It was enough a little bit good will...
Go on this way...
Do to others as you would like them to do to you! Knowledge is of no value unless you put it into practice - Chekhov
#578 Posted: 11/11/2024 12:39:15 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

What does "a little bit goodwill" look like you can always see here.
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
ioan92 11/11/2024 1:21:00 AM
#579 Posted: 11/11/2024 7:23:12 AM
overlord

overlord

547 likes in 1330 posts.

Group: Moderator

To be fair, new default format (border) looks better.

2024-11-11_03-22.png
1 users liked this post
ioan92 11/11/2024 1:44:00 PM
#580 Posted: 11/11/2024 11:50:51 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

The designer must consider all possible use cases, not just typical cases. When you propose to change something, you must do the same work - consider all the cases that were before and compare them with the new behavior. Not just write it in words, but attach a document where you can see all the possible use cases and their combinations with different environments. I deliberately made the graph environment transparent, because the double borders are starting to irritate. They can't be turned off or made transparent. I removed visual noise and made it possible to see components behind the graph when they are overlaid.
I have documents where there are about 10 such plots on one sheet and I personally don’t need extra borders.

xyplot-style-usedefault-nested.jpg

xyplot-style-usedefault-space.jpg

xyplot-style-usedefault-space2.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
Oscar Campo 11/11/2024 7:32:00 PM, sergio 11/11/2024 4:33:00 PM
  • New Posts New Posts
  • No New Posts No New Posts