Graphs for the control tasks

Graphs for the control tasks - graph from point to point - 消息

#1 已发布: 2021/5/25 15:56:39
Renzo Choque

Renzo Choque

6个赞,共18个帖子。

组: User

Hi, I want to set my label to vertical dimension but when I rotate the text it gets distorted, please how can I fix it?
vertical text.png
#2 已发布: 2023/2/26 13:23:18
TopUser2000

TopUser2000

0个赞,共28个帖子。

组: User

Hello.
Tell me, please, if I have two points, then how can I plot a graph between them? According to my assignment, I need to build several graphs, but I do not know how to do it in the program. I have done the calculations, but for the rest I ask for help from local experts. I attach a sheet with the task and a file with calculations (sorry, that's in Russian). Can someone help me figure it out here?

Snimok.JPG


DPT s NV.sm (19.52 KiB)已下载 1406 次。
Mekhanicheskie kharakteristiki DPT s nezavisimym vozbuzhdeniem.docx (95.56 KiB)已下载 717 次。
#3 已发布: 2023/2/26 14:31:43
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

I made a sample with two different plots.
You can use them by changing variables.

Regards

DPT_NV plot.sm (11.08 KiB)已下载 1373 次。

2023-02-26_20-31.png
1位用户喜欢此帖子
TopUser2000 2023/2/26 15:06:00
#4 已发布: 2023/2/26 17:33:26
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

TwoPointsPlot.sm (11.84 KiB)已下载 1356 次。
1位用户喜欢此帖子
TopUser2000 2023/2/27 05:03:00
#5 已发布: 2023/2/26 21:09:46
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

TwoPointsTrack.PNG
1位用户喜欢此帖子
TopUser2000 2023/2/27 05:03:00
#6 已发布: 2023/2/26 21:21:08
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

You can also use line and polyline commands for plot.
They work only in XYPlot, but sometimes they make everything easy.
There is also a setprop() function.
It can change format of your XYPlot automatically.
Search setprop() in forum for further information.

Regards

DPT_NV plot.sm (20.47 KiB)已下载 1531 次。

2023-02-27_01-50.png
1位用户喜欢此帖子
TopUser2000 2023/2/27 05:03:00
#7 已发布: 2023/2/27 04:54:30
TopUser2000

TopUser2000

0个赞,共28个帖子。

组: User

Thanks to everyone. The first answer helped me enough)
One more question:
if I have a graph (attached file), then how do I mark the points along which it passes?
I tried: vector M(s) ω(s) "." 15 "blue"
but the application immediately crashes.
AD.sm (20.17 KiB)已下载 1344 次。
Is it possible to make the graph automatically scale to the new values?

And does someone use android version of Smath (from this site)? I can't edit any of these files there.
#8 已发布: 2023/2/27 08:47:08
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

If I have a graph (attached file), then how do I mark the points along which it passes?


As in the attached.
Instead of re-scaling the same graph, plots all new graph on the same plot.
You will scale to accommodate for the larger graph.
Cheers ... Jean

AD Plot Points.sm (104.39 KiB)已下载 1413 次。

1位用户喜欢此帖子
TopUser2000 2023/2/27 15:08:00
#9 已发布: 2023/2/27 11:29:43
TopUser2000

TopUser2000

0个赞,共28个帖子。

组: User

I'm afraid it's too difficult for me)
Snimok.JPG
Is there any simple way to add the pass points and autoscale a graph?
#10 已发布: 2023/2/27 13:38:10
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Is there any simple way to add the pass points and autoscale a graph?


Some Smath versions decided that opening in other versions will be black.
1. Open this document
2. If black, select by groups, click on background white
3. Make the all document as per 2. directive
4. at this point, you have recovered my original
5. Plot points and more advanced.
Cheers ... Jean

AD Plot Points TopUser2000.sm (87.24 KiB)已下载 1336 次。

1位用户喜欢此帖子
TopUser2000 2023/2/27 15:08:00
#11 已发布: 2023/2/27 13:57:37
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

You can use this, XYPlot region is suitable.
One custom function to plot everything.
It also autoscale the graph.

Regards

AD.sm (28.23 KiB)已下载 1298 次。

2023-02-27_19-35.png
1位用户喜欢此帖子
TopUser2000 2023/2/27 15:08:00
#12 已发布: 2023/2/27 15:09:51
TopUser2000

TopUser2000

0个赞,共28个帖子。

组: User

Oh... What literature can I read about making plots in?
#13 已发布: 2023/2/27 16:42:23
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: Moderator

Нужно в YouTube в поиске набрать: SMath Studio tutorial и применить фильтр плейлистов. Там найдётся около 4-5 видеокурсов. Можно отфильтровать по продолжительности.
Также каждый дополнительный компонент (расширение) имеет здесь на форуме свою тему, где в начале обычно приложены примеры типового использования.
Russia ☭ forever, Viacheslav N. Mezentsev
#14 已发布: 2023/2/27 16:47:58
TopUser2000

TopUser2000

0个赞,共28个帖子。

组: User

Тут вроде самый необходимый минимум мне описали, но, казалось бы, простую задачу, когда на графике надо проставить точки, тут описывают каким-то сложным для меня способом. Причем, среди кучи текста непонятно, что именно отвечает за эти точки.
Да и с автомасштабом графика я так и не понял.
#15 已发布: 2023/2/27 16:51:27
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: Moderator

По точкам нужно просто посмотреть примеры использования графиков.

setprop() - функция устанавливает свойство компонента. Возвращает 1, если свойство найдено и успешно установлено, иначе 0.
Она ищет компоненты на всех листах с указанным именем и меняет указанное свойство. Набор доступных для изменения свойств ограничен.

Точки также можно включить в свойствах кривой. ПКМ на компоненте и выбрать настройки, далее зайти в свойства кривой и там выбрать тип маркеров вместо пустого.

В компоненте XYPlot нет автомасштаба, поэтому пока так.
Russia ☭ forever, Viacheslav N. Mezentsev
#16 已发布: 2023/2/27 16:51:55
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote


Oh... What literature can I read about making plots in ?


Download first document @ post 10 ... let's see if it works ?

#17 已发布: 2023/2/27 17:04:02
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

This is what uni cleverly mentioned.
Which I totally forgot its existence.

The plot

Traces

Styles
2位用户喜欢此帖子
Вячеслав Мезенцев 2023/2/27 17:05:00, TopUser2000 2023/3/2 04:30:00
#18 已发布: 2023/3/2 04:32:18
TopUser2000

TopUser2000

0个赞,共28个帖子。

组: User

Wrote

Wrote


Oh... What literature can I read about making plots in ?


Download first document @ post 10 ... let's see if it works ?



Now it works but anyway this way is too difficult for me
#19 已发布: 2023/3/2 13:46:49
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Now it works but anyway this way is too difficult for me


Glad it works from doctoring the black.
Nothing is too difficult for Smath Community to which you now belongs.
Your very first document, populate more for standard reference project.
If you just have some experimental points you can't escape Hermite.
It was used long time ago for Mollier.
Hermite cubic interpolation is more ancient than my Mathcad 8 Pro.
Take care ... Jean

1位用户喜欢此帖子
TopUser2000 2023/3/5 13:02:00
  • 有新帖
  • 无新帖