Graphs for the control tasks

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

#1 Objavljeno: 25. 5. 2021. 15:56:39
Renzo Choque

Renzo Choque

6 svidjanja u 18 postova.

Grupa: 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 Objavljeno: 26. 2. 2023. 13:23:18
TopUser2000

TopUser2000

0 svidjanja u 28 postova.

Grupa: 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) preuzeto 1423 put(ova).
Mekhanicheskie kharakteristiki DPT s nezavisimym vozbuzhdeniem.docx (95,56 KiB) preuzeto 727 put(ova).
#3 Objavljeno: 26. 2. 2023. 14:31:43
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: Moderator

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

Regards

DPT_NV plot.sm (11,08 KiB) preuzeto 1392 put(ova).

2023-02-26_20-31.png
1 korisnika je svidelo ovu objavu
TopUser2000 26. 2. 2023. 15:06:00
#4 Objavljeno: 26. 2. 2023. 17:33:26
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

TwoPointsPlot.sm (11,84 KiB) preuzeto 1378 put(ova).
1 korisnika je svidelo ovu objavu
TopUser2000 27. 2. 2023. 05:03:00
#5 Objavljeno: 26. 2. 2023. 21:09:46
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

TwoPointsTrack.PNG
1 korisnika je svidelo ovu objavu
TopUser2000 27. 2. 2023. 05:03:00
#6 Objavljeno: 26. 2. 2023. 21:21:08
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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) preuzeto 1547 put(ova).

2023-02-27_01-50.png
1 korisnika je svidelo ovu objavu
TopUser2000 27. 2. 2023. 05:03:00
#7 Objavljeno: 27. 2. 2023. 04:54:30
TopUser2000

TopUser2000

0 svidjanja u 28 postova.

Grupa: 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) preuzeto 1359 put(ova).
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 Objavljeno: 27. 2. 2023. 08:47:08
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1439 put(ova).

1 korisnika je svidelo ovu objavu
TopUser2000 27. 2. 2023. 15:08:00
#9 Objavljeno: 27. 2. 2023. 11:29:43
TopUser2000

TopUser2000

0 svidjanja u 28 postova.

Grupa: 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 Objavljeno: 27. 2. 2023. 13:38:10
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1358 put(ova).

1 korisnika je svidelo ovu objavu
TopUser2000 27. 2. 2023. 15:08:00
#11 Objavljeno: 27. 2. 2023. 13:57:37
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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) preuzeto 1320 put(ova).

2023-02-27_19-35.png
1 korisnika je svidelo ovu objavu
TopUser2000 27. 2. 2023. 15:08:00
#12 Objavljeno: 27. 2. 2023. 15:09:51
TopUser2000

TopUser2000

0 svidjanja u 28 postova.

Grupa: User

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

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

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

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

TopUser2000

0 svidjanja u 28 postova.

Grupa: User

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

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

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

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

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

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

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

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote


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


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

#17 Objavljeno: 27. 2. 2023. 17:04:02
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: Moderator

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

The plot

Traces

Styles
2 korisnika je svidelo ovu objavu
Вячеслав Мезенцев 27. 2. 2023. 17:05:00, TopUser2000 2. 3. 2023. 04:30:00
#18 Objavljeno: 2. 3. 2023. 04:32:18
TopUser2000

TopUser2000

0 svidjanja u 28 postova.

Grupa: 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 Objavljeno: 2. 3. 2023. 13:46:49
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 korisnika je svidelo ovu objavu
TopUser2000 5. 3. 2023. 13:02:00
  • Novi postovi
  • Nema novih postova