Graphs for the control tasks

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

#1 Posted: 5/25/2021 3:56:39 PM
Renzo Choque

Renzo Choque

6 likes in 18 posts.

Group: 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 Posted: 2/26/2023 1:23:18 PM
TopUser2000

TopUser2000

0 likes in 28 posts.

Group: 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 KiB) downloaded 43 time(s).
Mekhanicheskie kharakteristiki DPT s nezavisimym vozbuzhdeniem.docx (95 KiB) downloaded 42 time(s).
#3 Posted: 2/26/2023 2:31:43 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

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

Regards

DPT_NV plot.sm (11 KiB) downloaded 49 time(s).

2023-02-26_20-31.png
1 users liked this post
TopUser2000 2/26/2023 3:06:00 PM
#4 Posted: 2/26/2023 5:33:26 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

TwoPointsPlot.sm (11 KiB) downloaded 45 time(s).
1 users liked this post
TopUser2000 2/27/2023 5:03:00 AM
#5 Posted: 2/26/2023 9:09:46 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

TwoPointsTrack.PNG
1 users liked this post
TopUser2000 2/27/2023 5:03:00 AM
#6 Posted: 2/26/2023 9:21:08 PM
overlord

overlord

554 likes in 1333 posts.

Group: 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 KiB) downloaded 71 time(s).

2023-02-27_01-50.png
1 users liked this post
TopUser2000 2/27/2023 5:03:00 AM
#7 Posted: 2/27/2023 4:54:30 AM
TopUser2000

TopUser2000

0 likes in 28 posts.

Group: 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 KiB) downloaded 43 time(s).
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 Posted: 2/27/2023 8:47:08 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 47 time(s).

1 users liked this post
TopUser2000 2/27/2023 3:08:00 PM
#9 Posted: 2/27/2023 11:29:43 AM
TopUser2000

TopUser2000

0 likes in 28 posts.

Group: 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 Posted: 2/27/2023 1:38:10 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 47 time(s).

1 users liked this post
TopUser2000 2/27/2023 3:08:00 PM
#11 Posted: 2/27/2023 1:57:37 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

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

Regards

AD.sm (28 KiB) downloaded 50 time(s).

2023-02-27_19-35.png
1 users liked this post
TopUser2000 2/27/2023 3:08:00 PM
#12 Posted: 2/27/2023 3:09:51 PM
TopUser2000

TopUser2000

0 likes in 28 posts.

Group: User

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

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

1402 likes in 1708 posts.

Group: Moderator

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

TopUser2000

0 likes in 28 posts.

Group: User

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

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

1402 likes in 1708 posts.

Group: Moderator

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

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

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

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

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote


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


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

#17 Posted: 2/27/2023 5:04:02 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

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

The plot

Traces

Styles
2 users liked this post
Вячеслав Мезенцев 2/27/2023 5:05:00 PM, TopUser2000 3/2/2023 4:30:00 AM
#18 Posted: 3/2/2023 4:32:18 AM
TopUser2000

TopUser2000

0 likes in 28 posts.

Group: 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 Posted: 3/2/2023 1:46:49 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 users liked this post
TopUser2000 3/5/2023 1:02:00 PM
  • New Posts New Posts
  • No New Posts No New Posts