График точками

График точками - графики точками - Messages

#1 Posted: 2/18/2022 3:44:23 AM
juvf

juvf

0 likes in 6 posts.

Group: User

Добрый день.
Мне необходимо построить график точками. Что-то подобное делал 100 лет назад в маткаде...

Суть: есть функция, например f1(t):=2*t

Я хочу изменять в графике t от -2 до +2 с шагом 1.0. Т.е. я хочу видеть на графике пять точек. Точки должны быть на координатах (-2,-4), (-1,-2), (0,0), (1,2), (2,4).
Можно эти точки соединить прямыми, можно оставить точками. Как это сделать в smath?

ps вообще тут суть вопроса... в реалии f1 очень сложная и состоит из 2-х десятков функций, а t меняется от 18000 до 0, с шагом 100.
т.е. создавать матрицы из миллиона точек и вываливать их на листе и потом скролить до графика не очень охота.
#2 Posted: 2/18/2022 4:10:05 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi. This is a way.

img1.jpg

pStem.sm (8 KiB) downloaded 37 time(s).

Best regards.
Alvaro.

1 users liked this post
sergio 2/18/2022 5:57:00 AM
#3 Posted: 2/18/2022 4:17:54 AM
juvf

juvf

0 likes in 6 posts.

Group: User

Спасибо. с plot получилось.
А можно убрать вертикальные синие линии от точки до оси х?
#4 Posted: 2/18/2022 4:23:11 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Something like this?

img2.jpg

Best regards.
Alvaro.

1 users liked this post
juvf 2/18/2022 4:38:00 AM
#5 Posted: 2/18/2022 4:24:45 AM
juvf

juvf

0 likes in 6 posts.

Group: User

Да!!! То, что нужно!!! ОГРОМНОЕ СПАСИБО!!!
#6 Posted: 2/18/2022 4:42:24 AM
juvf

juvf

0 likes in 6 posts.

Group: User

Wrote

Something like this?

img2.jpg

Best regards.
Alvaro.



А как это из *.jpg в *.sm преобразовать?

Как добавить дополнительную строку "Y:=f(T)"? Как в plot добавить фигурную скобку с двумя augment?

ps Очень интересный функционал в smath. Где-то есть мануал на подобные функции?
#7 Posted: 2/18/2022 4:49:50 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Wrote


А как это из *.jpg в *.sm преобразовать?



Sorry, I forgot to upload the file.

pStem.sm (9 KiB) downloaded 40 time(s).

Wrote


Как добавить дополнительную строку "Y:=f(T)"? Как в plot добавить фигурную скобку с двумя augment?



You can type line(,,,) and sys(,,,). And ... see some videos about SMath syntax.

Wrote


ps Очень интересный функционал в smath. Где-то есть мануал на подобные функции?



Yes, but I don't know which tutorial could be the best for you. There are many. Others in this forum can help for that.

Best regards.
Alvaro.
1 users liked this post
juvf 2/18/2022 4:56:00 AM
#8 Posted: 2/18/2022 4:56:08 AM
juvf

juvf

0 likes in 6 posts.

Group: User

Ещё раз огромное спасибо!!!!
#9 Posted: 2/18/2022 4:53:39 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Bar size convenience to highlight project.
Cheers ... Jean.

2D Plot COMPANION [Bar_FillBar].sm (23 KiB) downloaded 31 time(s).
#10 Posted: 2/18/2022 7:18:42 PM
overlord

overlord

549 likes in 1332 posts.

Group: Moderator

Wrote

Bar size convenience to highlight project.
Cheers ... Jean.


▲▲▲▲▲▲
Not related with juvy's requested.
While this is a good example,
this is not what juvf asked for.

Wrote

Something like this?

img2.jpg

Best regards.
Alvaro.


▲▲▲▲▲▲▲
This was what OP requested.

Wrote

Да!!! То, что нужно!!! ОГРОМНОЕ СПАСИБО!!!


And said what exactly he was looking for.

Jean, do not post unrelated replies to users topics.
Promoting your files under other peoples posts is rude.
#11 Posted: 2/19/2022 8:28:02 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Stem Data.sm (26 KiB) downloaded 35 time(s).
#12 Posted: 2/20/2022 8:37:12 PM
overlord

overlord

549 likes in 1332 posts.

Group: Moderator

Still, this is a good example but not related with request.

Wrote

Stem Data.sm (26 KiB) downloaded 35 time(s).


*****************************************

Jean, you are having hard time to get even very simple subjects.
To clarify and simplify for you, this was what OP asked, get and thanked.

Wrote

pStem.sm (9 KiB) downloaded 40 time(s).


Don't hijack the topic anymore.
  • New Posts New Posts
  • No New Posts No New Posts