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

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

#1 Publicado: 18/2/2022 3:44:23
juvf

juvf

0 me gusta en 6 mensajes.

Grupo: 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 Publicado: 18/2/2022 4:10:05
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Hi. This is a way.

img1.jpg

pStem.sm (8,03 KiB) descargado 1214 vez(es).

Best regards.
Alvaro.

A 1 usuarios les gustó este mensaje
sergio 18/2/2022 5:57:00
#3 Publicado: 18/2/2022 4:17:54
juvf

juvf

0 me gusta en 6 mensajes.

Grupo: User

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

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Something like this?

img2.jpg

Best regards.
Alvaro.

A 1 usuarios les gustó este mensaje
juvf 18/2/2022 4:38:00
#5 Publicado: 18/2/2022 4:24:45
juvf

juvf

0 me gusta en 6 mensajes.

Grupo: User

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

juvf

0 me gusta en 6 mensajes.

Grupo: User

Wrote

Something like this?

img2.jpg

Best regards.
Alvaro.



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

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

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

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Wrote


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



Sorry, I forgot to upload the file.

pStem.sm (9,92 KiB) descargado 1218 vez(es).

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.
A 1 usuarios les gustó este mensaje
juvf 18/2/2022 4:56:00
#8 Publicado: 18/2/2022 4:56:08
juvf

juvf

0 me gusta en 6 mensajes.

Grupo: User

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

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

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

2D Plot COMPANION [Bar_FillBar].sm (23,48 KiB) descargado 1110 vez(es).
#10 Publicado: 18/2/2022 19:18:42
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: 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 Publicado: 19/2/2022 20:28:02
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Stem Data.sm (26,88 KiB) descargado 1300 vez(es).
#12 Publicado: 20/2/2022 20:37:12
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

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

Wrote

Stem Data.sm (26,88 KiB) descargado 1300 vez(es).


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

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,92 KiB) descargado 1218 vez(es).


Don't hijack the topic anymore.
  • Nuevos mensajes
  • Sin mensajes nuevos