Graphs for the control tasks

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

#1 Publicado: 25/5/2021 15:56:39
Renzo Choque

Renzo Choque

6 me gusta en 18 mensajes.

Grupo: 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 Publicado: 26/2/2023 13:23:18
TopUser2000

TopUser2000

0 me gusta en 28 mensajes.

Grupo: 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) descargado 1394 vez(es).
Mekhanicheskie kharakteristiki DPT s nezavisimym vozbuzhdeniem.docx (95,56 KiB) descargado 708 vez(es).
#3 Publicado: 26/2/2023 14:31:43
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

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

Regards

DPT_NV plot.sm (11,08 KiB) descargado 1354 vez(es).

2023-02-26_20-31.png
A 1 usuarios les gustó este mensaje
TopUser2000 26/2/2023 15:06:00
#4 Publicado: 26/2/2023 17:33:26
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

TwoPointsPlot.sm (11,84 KiB) descargado 1336 vez(es).
A 1 usuarios les gustó este mensaje
TopUser2000 27/2/2023 5:03:00
#5 Publicado: 26/2/2023 21:09:46
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

TwoPointsTrack.PNG
A 1 usuarios les gustó este mensaje
TopUser2000 27/2/2023 5:03:00
#6 Publicado: 26/2/2023 21:21:08
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: 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) descargado 1515 vez(es).

2023-02-27_01-50.png
A 1 usuarios les gustó este mensaje
TopUser2000 27/2/2023 5:03:00
#7 Publicado: 27/2/2023 4:54:30
TopUser2000

TopUser2000

0 me gusta en 28 mensajes.

Grupo: 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) descargado 1310 vez(es).
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 Publicado: 27/2/2023 8:47:08
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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) descargado 1388 vez(es).

A 1 usuarios les gustó este mensaje
TopUser2000 27/2/2023 15:08:00
#9 Publicado: 27/2/2023 11:29:43
TopUser2000

TopUser2000

0 me gusta en 28 mensajes.

Grupo: 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 Publicado: 27/2/2023 13:38:10
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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) descargado 1324 vez(es).

A 1 usuarios les gustó este mensaje
TopUser2000 27/2/2023 15:08:00
#11 Publicado: 27/2/2023 13:57:37
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: 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) descargado 1286 vez(es).

2023-02-27_19-35.png
A 1 usuarios les gustó este mensaje
TopUser2000 27/2/2023 15:08:00
#12 Publicado: 27/2/2023 15:09:51
TopUser2000

TopUser2000

0 me gusta en 28 mensajes.

Grupo: User

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

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

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

TopUser2000

0 me gusta en 28 mensajes.

Grupo: User

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

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

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

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

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

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

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote


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


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

#17 Publicado: 27/2/2023 17:04:02
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

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

The plot

Traces

Styles
A 2 usuarios les gustó este mensaje
Вячеслав Мезенцев 27/2/2023 17:05:00, TopUser2000 2/3/2023 4:30:00
#18 Publicado: 2/3/2023 4:32:18
TopUser2000

TopUser2000

0 me gusta en 28 mensajes.

Grupo: 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 Publicado: 2/3/2023 13:46:49
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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

A 1 usuarios les gustó este mensaje
TopUser2000 5/3/2023 13:02:00
  • Nuevos mensajes
  • Sin mensajes nuevos