Graphs for the control tasks

Graphs for the control tasks - graph from point to point - Messaggi

#1 Pubblicato: 25/05/2021 15:56:39
Renzo Choque

Renzo Choque

6 apprezzamenti in 18 post.

Gruppo: 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 Pubblicato: 26/02/2023 13:23:18
TopUser2000

TopUser2000

0 apprezzamenti in 28 post.

Gruppo: 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) scaricato 1397 volta(e).
Mekhanicheskie kharakteristiki DPT s nezavisimym vozbuzhdeniem.docx (95,56 KiB) scaricato 710 volta(e).
#3 Pubblicato: 26/02/2023 14:31:43
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: Moderator

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

Regards

DPT_NV plot.sm (11,08 KiB) scaricato 1359 volta(e).

2023-02-26_20-31.png
1 utenti hanno apprezzato questo post
TopUser2000 26/02/2023 15:06:00
#4 Pubblicato: 26/02/2023 17:33:26
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

TwoPointsPlot.sm (11,84 KiB) scaricato 1341 volta(e).
1 utenti hanno apprezzato questo post
TopUser2000 27/02/2023 05:03:00
#5 Pubblicato: 26/02/2023 21:09:46
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

TwoPointsTrack.PNG
1 utenti hanno apprezzato questo post
TopUser2000 27/02/2023 05:03:00
#6 Pubblicato: 26/02/2023 21:21:08
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: 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) scaricato 1518 volta(e).

2023-02-27_01-50.png
1 utenti hanno apprezzato questo post
TopUser2000 27/02/2023 05:03:00
#7 Pubblicato: 27/02/2023 04:54:30
TopUser2000

TopUser2000

0 apprezzamenti in 28 post.

Gruppo: 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) scaricato 1317 volta(e).
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 Pubblicato: 27/02/2023 08:47:08
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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) scaricato 1394 volta(e).

1 utenti hanno apprezzato questo post
TopUser2000 27/02/2023 15:08:00
#9 Pubblicato: 27/02/2023 11:29:43
TopUser2000

TopUser2000

0 apprezzamenti in 28 post.

Gruppo: 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 Pubblicato: 27/02/2023 13:38:10
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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) scaricato 1328 volta(e).

1 utenti hanno apprezzato questo post
TopUser2000 27/02/2023 15:08:00
#11 Pubblicato: 27/02/2023 13:57:37
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: 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) scaricato 1288 volta(e).

2023-02-27_19-35.png
1 utenti hanno apprezzato questo post
TopUser2000 27/02/2023 15:08:00
#12 Pubblicato: 27/02/2023 15:09:51
TopUser2000

TopUser2000

0 apprezzamenti in 28 post.

Gruppo: User

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

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

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

TopUser2000

0 apprezzamenti in 28 post.

Gruppo: User

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

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

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

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

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

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

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote


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


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

#17 Pubblicato: 27/02/2023 17:04:02
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: Moderator

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

The plot

Traces

Styles
2 utenti hanno apprezzato questo post
Вячеслав Мезенцев 27/02/2023 17:05:00, TopUser2000 02/03/2023 04:30:00
#18 Pubblicato: 02/03/2023 04:32:18
TopUser2000

TopUser2000

0 apprezzamenti in 28 post.

Gruppo: 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 Pubblicato: 02/03/2023 13:46:49
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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 utenti hanno apprezzato questo post
TopUser2000 05/03/2023 13:02:00
  • Nuovi post
  • Nessun nuovo post