X-Y Plot Region

X-Y Plot Region - Extends SMath Studio with a X-Y Plot Region. - Сообщения

#561 Опубликовано: 03.10.2024 05:03:24
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Finally it will be possible. Just an announcement.

Click to enlarge Click to enlarge
Russia ☭ forever, Viacheslav N. Mezentsev
#562 Опубликовано: 04.10.2024 00:39:11
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 КиБ) скачан 33 раз(а).
xyplot-set-properties-traces.sm (10 КиБ) скачан 33 раз(а).
Russia ☭ forever, Viacheslav N. Mezentsev
2 пользователям понравился этот пост
Alvaro Diaz Falconi 04.10.2024 12:05:00, sergio 04.10.2024 01:03:00
#563 Опубликовано: 04.10.2024 15:22:18
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 КиБ) скачан 31 раз(а).
xyplot-setprop-traces.sm (12 КиБ) скачан 34 раз(а).

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 Опубликовано: 13.10.2024 15:41:44
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Next time I'll try to remove the brackets.

xyplot-set-properties-without-brackets.PNG
Russia ☭ forever, Viacheslav N. Mezentsev
#565 Опубликовано: 16.10.2024 17:18:51
ioan92

ioan92

171 сообщений из 102 понравились пользователям.

Группа: 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 Опубликовано: 16.10.2024 19:46:55
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

I need to remember why I removed it. Then we'll see.
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
ioan92 16.10.2024 19:53:00
#567 Опубликовано: 22.10.2024 23:02:15
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 Опубликовано: 22.10.2024 23:42:54
ioan92

ioan92

171 сообщений из 102 понравились пользователям.

Группа: 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 Опубликовано: 23.10.2024 01:50:45
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 Опубликовано: 23.10.2024 03:28:42
ioan92

ioan92

171 сообщений из 102 понравились пользователям.

Группа: 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 Опубликовано: 25.10.2024 00:49:42
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Hi. Inefficient, but short. And illustrative.

Filling in an XYPlot.png

Filling in an XYPlot.sm (11 КиБ) скачан 31 раз(а).

Best regards.
Alvaro.
1 пользователям понравился этот пост
#572 Опубликовано: 25.10.2024 01:49:40
ioan92

ioan92

171 сообщений из 102 понравились пользователям.

Группа: 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 Опубликовано: 25.10.2024 17:31:16
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: 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 пользователям понравился этот пост
ioan92 25.10.2024 17:51:00
#574 Опубликовано: 26.10.2024 01:17:07
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 пользователям понравился этот пост
sergio 26.10.2024 14:46:00
#575 Опубликовано: 09.11.2024 19:58:15
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 пользователям понравился этот пост
Martin Kraska 10.11.2024 01:13:00, churichuro 09.11.2024 23:48:00
#576 Опубликовано: 10.11.2024 20:39:21
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 пользователям понравился этот пост
Davide Carpi 10.11.2024 21:32:00, ioan92 11.11.2024 00:01:00, NDTM Amarasekera 10.11.2024 21:06:00
#577 Опубликовано: 10.11.2024 23:59:57
ioan92

ioan92

171 сообщений из 102 понравились пользователям.

Группа: 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 Опубликовано: 11.11.2024 00:39:15
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

What does "a little bit goodwill" look like you can always see here.
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
ioan92 11.11.2024 01:21:00
#579 Опубликовано: 11.11.2024 07:23:12
overlord

overlord

547 сообщений из 1330 понравились пользователям.

Группа: Moderator

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

2024-11-11_03-22.png
1 пользователям понравился этот пост
ioan92 11.11.2024 13:44:00
#580 Опубликовано: 11.11.2024 11:50:51
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 пользователям понравился этот пост
Oscar Campo 11.11.2024 19:32:00, sergio 11.11.2024 16:33:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений