Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Renzorex  
#1 Posted : 25 May 2021 21:56:39(UTC)
Renzorex


Rank: Member

Groups: Registered
Joined: 09/11/2020(UTC)
Posts: 17
Peru
Location: Cusco

Was thanked: 4 time(s) in 2 post(s)
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

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline TopUser2000  
#2 Posted : 26 February 2023 19:23:18(UTC)
TopUser2000


Rank: Member

Groups: Registered
Joined: 14/02/2023(UTC)
Posts: 24
Belarus

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 (20kb) downloaded 4 time(s).
Mekhanicheskie kharakteristiki DPT s nezavisimym vozbuzhdeniem.docx (96kb) downloaded 6 time(s).
Offline overlord  
#3 Posted : 26 February 2023 20:31:43(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
I made a sample with two different plots.
You can use them by changing variables.

Regards

DPT_NV plot.sm (12kb) downloaded 8 time(s).

2023-02-26_20-31.png
thanks 1 user thanked overlord for this useful post.
on 26/02/2023(UTC)
Offline Jean Giraud  
#4 Posted : 26 February 2023 23:33:26(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
TwoPointsPlot.sm (12kb) downloaded 4 time(s).
thanks 1 user thanked Jean Giraud for this useful post.
on 27/02/2023(UTC)
Offline Jean Giraud  
#5 Posted : 27 February 2023 03:09:46(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
TwoPointsTrack.PNG
thanks 1 user thanked Jean Giraud for this useful post.
on 27/02/2023(UTC)
Offline overlord  
#6 Posted : 27 February 2023 03:21:08(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
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 (21kb) downloaded 13 time(s).

2023-02-27_01-50.png
thanks 1 user thanked overlord for this useful post.
on 27/02/2023(UTC)
Offline TopUser2000  
#7 Posted : 27 February 2023 10:54:30(UTC)
TopUser2000


Rank: Member

Groups: Registered
Joined: 14/02/2023(UTC)
Posts: 24
Belarus

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 (21kb) downloaded 5 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.

Edited by user 27 February 2023 11:02:44(UTC)  | Reason: Not specified

Offline Jean Giraud  
#8 Posted : 27 February 2023 14:47:08(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: TopUser2000 Go to Quoted Post
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 (105kb) downloaded 5 time(s).

thanks 1 user thanked Jean Giraud for this useful post.
on 27/02/2023(UTC)
Offline TopUser2000  
#9 Posted : 27 February 2023 17:29:43(UTC)
TopUser2000


Rank: Member

Groups: Registered
Joined: 14/02/2023(UTC)
Posts: 24
Belarus

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?
Offline Jean Giraud  
#10 Posted : 27 February 2023 19:38:10(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: TopUser2000 Go to Quoted Post
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 (88kb) downloaded 3 time(s).

thanks 1 user thanked Jean Giraud for this useful post.
on 27/02/2023(UTC)
Offline overlord  
#11 Posted : 27 February 2023 19:57:37(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
You can use this, XYPlot region is suitable.
One custom function to plot everything.
It also autoscale the graph.

Regards

AD.sm (29kb) downloaded 8 time(s).

2023-02-27_19-35.png
thanks 1 user thanked overlord for this useful post.
on 27/02/2023(UTC)
Offline TopUser2000  
#12 Posted : 27 February 2023 21:09:51(UTC)
TopUser2000


Rank: Member

Groups: Registered
Joined: 14/02/2023(UTC)
Posts: 24
Belarus

Oh... What literature can I read about making plots in?
Offline uni  
#13 Posted : 27 February 2023 22:42:23(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Нужно в YouTube в поиске набрать: SMath Studio tutorial и применить фильтр плейлистов. Там найдётся около 4-5 видеокурсов. Можно отфильтровать по продолжительности.
Также каждый дополнительный компонент (расширение) имеет здесь на форуме свою тему, где в начале обычно приложены примеры типового использования.

Edited by user 27 February 2023 22:44:31(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
Offline TopUser2000  
#14 Posted : 27 February 2023 22:47:58(UTC)
TopUser2000


Rank: Member

Groups: Registered
Joined: 14/02/2023(UTC)
Posts: 24
Belarus

Тут вроде самый необходимый минимум мне описали, но, казалось бы, простую задачу, когда на графике надо проставить точки, тут описывают каким-то сложным для меня способом. Причем, среди кучи текста непонятно, что именно отвечает за эти точки.
Да и с автомасштабом графика я так и не понял.
Offline uni  
#15 Posted : 27 February 2023 22:51:27(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
По точкам нужно просто посмотреть примеры использования графиков.

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

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

В компоненте XYPlot нет автомасштаба, поэтому пока так.

Edited by user 27 February 2023 22:55:23(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
Offline Jean Giraud  
#16 Posted : 27 February 2023 22:51:55(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: TopUser2000 Go to Quoted Post

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

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

Offline overlord  
#17 Posted : 27 February 2023 23:04:02(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
This is what uni cleverly mentioned.
Which I totally forgot its existence.

The plot

Traces

Styles
thanks 2 users thanked overlord for this useful post.
on 27/02/2023(UTC),  on 02/03/2023(UTC)
Offline TopUser2000  
#18 Posted : 02 March 2023 10:32:18(UTC)
TopUser2000


Rank: Member

Groups: Registered
Joined: 14/02/2023(UTC)
Posts: 24
Belarus

Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: TopUser2000 Go to Quoted Post

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
Offline Jean Giraud  
#19 Posted : 02 March 2023 19:46:49(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: TopUser2000 Go to Quoted Post
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

thanks 1 user thanked Jean Giraud for this useful post.
on 05/03/2023(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.