X-Y Plot Region

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

#341 Опубликовано: 21.08.2019 06:41:28
sergio

sergio

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

Группа: User

Jean
in the function definition of b(u) there is already all the data needed to properly plot the function with the X-Y plugin. Which works well.
sergio

SMathStudio_Jean.png
#342 Опубликовано: 21.08.2019 09:21:10
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Jean
in the function definition of b(u) there is already all the data needed to properly plot the function with the X-Y plugin. Which works well.
sergio


Yes Sergio, but it does not understand/plot Engineer's maths.
X_Y refers to so many libraries, it may have to be doctored.

X_Y kaput more.PNG

X_Y kaput.PNG

#343 Опубликовано: 21.08.2019 09:41:44
Arie

Arie

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

Группа: User

Wrote


Yes Sergio, but it does not understand/plot Engineer's maths.
X_Y refers to so many libraries, it may have to be doctored.

X_Y kaput more.PNG




Works fine for me.

Untitled.png
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#344 Опубликовано: 21.08.2019 09:48:22
Arie

Arie

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

Группа: User

Wrote

setprop() function is just an intermediary. It knows nothing about the properties of an object. Thus, if a property is found during a call, then it will be set. Each time a function is called, it enumerates the available properties. It is possible that I will change this behavior by setting aliases for some properties, making the names shorter. For now you can use source code to get these names. As for the values, you can get them from sm file:

gridpattern="Dash"
.



This doesn't seem to work for Grid.GridPattern or *Axis.NumberFormat.

Untitled.png
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
2 пользователям понравился этот пост
Вячеслав Мезенцев 21.08.2019 10:20:00, frapuano 21.08.2019 19:05:00
#345 Опубликовано: 21.08.2019 10:21:08
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Works fine for me.


Thanks alyles.
The question is about whether your X_Y version could be installed
in SS 6179, in replacement, not affecting all other projects ?
#346 Опубликовано: 21.08.2019 10:26:26
Вячеслав Мезенцев

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

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

Группа: Moderator

Wrote

This doesn't seem to work for Grid.GridPatternor *Axis.NumberFormat.


Yes, I was wrong. This place in the code is not completed.

As for Jean's examples. He doesn't quite clearly understand the connection between the program version, the component version and its capabilities. You can stick to one old version only for yourself personally, but moving forward is impossible without updating the old one. Sometimes you need to break something for this.

P.S. I can't support the all versions of the program. This makes sense only if all versions of the program are used at the same time, but it is not. I have access to statistics and it shows that users are migrating to new versions.

[albumimg]1594[/albumimg]
Russia ☭ forever, Viacheslav N. Mezentsev
3 пользователям понравился этот пост
Arie 21.08.2019 10:33:00, sergio 21.08.2019 10:38:00, NDTM Amarasekera 21.08.2019 12:15:00
#347 Опубликовано: 21.08.2019 12:02:02
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

As for Jean's examples.
He doesn't quite clearly understand the connection between the program version


I can survive otherwise. What's missing in all those commands is some Russian Poetry
Don't take it bad Viacheslav ... Jean is an old monkey [you already figured that].

X_Y most wanted.PNG

#348 Опубликовано: 22.08.2019 08:05:17
Вячеслав Мезенцев

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

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

Группа: Moderator

Updated.

Changes:
- Debug parameter added to config file;
- added support simple types for setprop() function;
- some bugs fixed;
- refactored.

Hidden property for axes and GridPattern now work.
Russia ☭ forever, Viacheslav N. Mezentsev
4 пользователям понравился этот пост
frapuano 22.08.2019 10:21:00, NDTM Amarasekera 22.08.2019 11:15:00, Arie 22.08.2019 10:39:00, sergio 22.08.2019 08:19:00
#349 Опубликовано: 22.08.2019 10:47:30
Arie

Arie

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

Группа: User

Wrote

Updated.

Changes:
- Debug parameter added to config file;
- added support simple types for setprop() function;
- some bugs fixed;
- refactored.

Hidden property for axes and GridPattern now work.



Thanks Uni! I really appreciate the setprop function.

Is it possible to set individual trace properties with this function?

Thanks,
alyles
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#350 Опубликовано: 22.08.2019 15:57:27
Arie

Arie

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

Группа: User

Updated my snippet for the XY Plot setprop wrappers. I have functions for each property that can be set with setprop.

Additionally I have created some other functions that combine individual property functions to minimize number of functions necessary.

I've also created some units for things like color (color), grid Patterns (gridPattern), legendPosition(legend), number format (numFmt). This allows one to use the context menu to select pre-defined values for these items. For example, if one wants to select a different grid pattern, but cannot remember the exact string, simply start typing "gridPattern" and select from the context menu.

Untitled.png

Attached is the raw snippet as well as a small example. Note that in the example, I have the legend on, but I have not set the parameters for traces so it's just a little rectangle. I'm hoping there is a way to change the trace parameters using the setprop command or something similar, but I'm unsure how to access them.

Untitled.png

Файл не найден.Файл не найден.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
6 пользователям понравился этот пост
IVR 05.08.2020 12:51:00, sergio 22.08.2019 16:22:00, Вячеслав Мезенцев 22.08.2019 18:12:00, Alvaro Diaz Falconi 22.08.2019 18:42:00, NDTM Amarasekera 22.08.2019 23:52:00, frapuano 23.08.2019 11:24:00
#351 Опубликовано: 22.08.2019 17:45:46
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Updated my snippet for the XY Plot setprop wrappers.


Interesting background color.
I had a trick to do in plot region SS 5346, din't collect, can't remember.

#352 Опубликовано: 22.08.2019 18:14:06
Вячеслав Мезенцев

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

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

Группа: Moderator

Wrote

I'm hoping there is a way to change the trace parameters using the setprop command or something similar, but I'm unsure how to access them.


It is possible, but I myself don’t yet know an easy way to do this.

Russia ☭ forever, Viacheslav N. Mezentsev
#353 Опубликовано: 23.08.2019 11:15:41
Jean Giraud

Jean Giraud

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

Группа: User

No surprise: the example is red SS 6179.
Revisit the the bugs SS 7109 ... No reply from ad-noseum visits.
SS 7109 strictly useless as is --> recycle/evaporate
On the other hand, for what X_Y plot does well, is exceptional
from the drop down menu, very fast. The spline line/points superb !
The attached examples wrt splines is convincing of that great feature.
SS 6179 X_Y is just missing background color from the windows.
I don't fancy that so much for publishing.
The so rich plots OriginLab is from drop down menu.
Just some comments, forget.

2D Isometric.sm (92 КиБ) скачан 80 раз(а).
#354 Опубликовано: 24.08.2019 13:11:45
Вячеслав Мезенцев

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

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

Группа: Moderator

Updated.

Changes:

- added AntiAlias support for legend;
- Hidden property for axes changed to Visible.

We already have this property for traces, so it’s logical to have the same name for the axes. For uniformity. I forgot about it when I chose a name.
Russia ☭ forever, Viacheslav N. Mezentsev
2 пользователям понравился этот пост
Arie 26.08.2019 11:24:00, sergio 26.08.2019 11:09:00
#355 Опубликовано: 26.08.2019 11:04:14
Arie

Arie

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

Группа: User

Wrote

Updated.

Changes:

- added AntiAlias support for legend;
- Hidden property for axes changed to Visible.

We already have this property for traces, so it’s logical to have the same name for the axes. For uniformity. I forgot about it when I chose a name.



Updated snippet with showAxis functions and removed hideAxis functions.
Not sure how to toggle AntiAlias options for legend using setprop or if it is possible.

XYPlotProps.sm (119 КиБ) скачан 90 раз(а).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
4 пользователям понравился этот пост
Вячеслав Мезенцев 26.08.2019 11:49:00, NDTM Amarasekera 26.08.2019 11:31:00, frapuano 26.08.2019 11:53:00, sergio 26.08.2019 11:09:00
#356 Опубликовано: 26.08.2019 15:25:12
Jean Giraud

Jean Giraud

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

Группа: User

FreeMat page 262 PDF

FreeMat Handle-Based Graphic.PNG
#357 Опубликовано: 28.08.2019 04:17:27
fedeghi

fedeghi

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

Группа: User

Wrote

Updated.



This update, I guess it is available only for SS 7109 and future builds, correct?
I am using SS 7030 and I don't see a "X-Y Plot Region" update among the available updates listed in Smath plugin manager.

Thank you, bye!
#358 Опубликовано: 28.08.2019 08:30:43
Вячеслав Мезенцев

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

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

Группа: Moderator

Yes. SMath Studio 0.99.7109. I am pushing users a bit forward. It’s hard to bring all the plugins to a new stable release unless you keep track of the changes. I rebuilt almost all the plugins for this version in order to check their functionality.
Russia ☭ forever, Viacheslav N. Mezentsev
#359 Опубликовано: 21.11.2019 06:08:06
veb

veb

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

Группа: User

Hello!
Help with this extension.
It is necessary to display a logarithmic graph, how to do it in smath?
I looked at the settings did not find such an opportunity.
#360 Опубликовано: 21.11.2019 06:11:16
Вячеслав Мезенцев

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

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

Группа: Moderator

Unfortunately, this cannot be done yet.
Russia ☭ forever, Viacheslav N. Mezentsev
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений