X-Y Plot Region

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

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

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

Finally it will be possible. Just an announcement.

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

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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,73 KiB) descargado 930 vez(es).
xyplot-set-properties-traces.sm (10,96 KiB) descargado 1612 vez(es).
Russia ☭ forever, Viacheslav N. Mezentsev
A 2 usuarios les gustó este mensaje
Alvaro 4/10/2024 12:05:00, sergio 4/10/2024 1:03:00
#563 Publicado: 4/10/2024 15:22:18
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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,73 KiB) descargado 927 vez(es).
xyplot-setprop-traces.sm (12,99 KiB) descargado 1664 vez(es).

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 Publicado: 13/10/2024 15:41:44
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

Next time I'll try to remove the brackets.

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

ioan92

181 me gusta en 125 mensajes.

Grupo: 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 Publicado: 16/10/2024 19:46:55
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

I need to remember why I removed it. Then we'll see.
Russia ☭ forever, Viacheslav N. Mezentsev
A 1 usuarios les gustó este mensaje
ioan92 16/10/2024 19:53:00
#567 Publicado: 22/10/2024 23:02:15
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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 Publicado: 22/10/2024 23:42:54
ioan92

ioan92

181 me gusta en 125 mensajes.

Grupo: 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 Publicado: 23/10/2024 1:50:45
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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 Publicado: 23/10/2024 3:28:42
ioan92

ioan92

181 me gusta en 125 mensajes.

Grupo: 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 Publicado: 25/10/2024 0:49:42
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Hi. Inefficient, but short. And illustrative.

Filling in an XYPlot.png

Filling in an XYPlot.sm (11,26 KiB) descargado 1635 vez(es).

Best regards.
Alvaro.
A 1 usuarios les gustó este mensaje
#572 Publicado: 25/10/2024 1:49:40
ioan92

ioan92

181 me gusta en 125 mensajes.

Grupo: 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 Publicado: 25/10/2024 17:31:16
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: 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.
A 1 usuarios les gustó este mensaje
ioan92 25/10/2024 17:51:00
#574 Publicado: 26/10/2024 1:17:07
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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
A 1 usuarios les gustó este mensaje
sergio 26/10/2024 14:46:00
#575 Publicado: 9/11/2024 19:58:15
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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
A 2 usuarios les gustó este mensaje
Martin Kraska 10/11/2024 1:13:00, churichuro 9/11/2024 23:48:00
#576 Publicado: 10/11/2024 20:39:21
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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
A 3 usuarios les gustó este mensaje
NDTM Amarasekera 10/11/2024 21:06:00, Davide Carpi 10/11/2024 21:32:00, ioan92 11/11/2024 0:01:00
#577 Publicado: 10/11/2024 23:59:57
ioan92

ioan92

181 me gusta en 125 mensajes.

Grupo: 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 Publicado: 11/11/2024 0:39:15
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

What does "a little bit goodwill" look like you can always see here.
Russia ☭ forever, Viacheslav N. Mezentsev
A 1 usuarios les gustó este mensaje
ioan92 11/11/2024 1:21:00
#579 Publicado: 11/11/2024 7:23:12
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

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

2024-11-11_03-22.png
A 1 usuarios les gustó este mensaje
ioan92 11/11/2024 13:44:00
#580 Publicado: 11/11/2024 11:50:51
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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
A 2 usuarios les gustó este mensaje
Oscar Campo 11/11/2024 19:32:00, sergio 11/11/2024 16:33:00
  • Nuevos mensajes
  • Sin mensajes nuevos