how to plot discrete function

how to plot discrete function - Сообщения

#1 Опубликовано: 08.11.2022 14:37:51
Mo

Mo

0 сообщений из 34 понравились пользователям.

Группа: User

hi,
I am trying to create a sheet to design welds and want to plot the geometry of the weld lines.
the problem is if I assign a matrix with x,y coordinates the 2D plot will draw a continuous function connecting all points, and when I assign this to a discrete matrix of line coordinates it does not plot unless I assign each line individually which is bad as I want it plotted based on the geometry.
in the example below, I want the 2D plot to plot LW without manually adding each component of LW individually.

Файл не найден.Файл не найден.
Thanks
#2 Опубликовано: 08.11.2022 15:18:08
Arie

Arie

93 сообщений из 285 понравились пользователям.

Группа: User

One possible options mat2sys.1() function.

Untitled.png
test_alyles.sm (35 КиБ) скачан 46 раз(а).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
1 пользователям понравился этот пост
sergio 08.11.2022 15:53:00
#3 Опубликовано: 08.11.2022 15:48:06
Mo

Mo

0 сообщений из 34 понравились пользователям.

Группа: User

Many thanks, alyles!!
#4 Опубликовано: 08.11.2022 16:20:38
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

I want the 2D plot to plot LW without manually adding each component of LW individually.


... make it algo style. CG can be managed as well.

LW.PNG
#5 Опубликовано: 08.11.2022 16:51:40
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

I want the 2D plot to plot LW without manually adding each component of LW individually.


... it may be possible to make svg [Scale Vector Graphic].
Cheers ... Jean.

test_alyles & jean.sm (41 КиБ) скачан 45 раз(а).
#6 Опубликовано: 08.11.2022 20:36:11
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... this is NOT a graph. It is an image triplet.
1. You can size the thickness/magnitude of the CG
2. You size length/thickness/color of the side welds
3. re-dispose the final triplet.
Cheers ... Jean.

Weld.PNG
#7 Опубликовано: 08.11.2022 22:08:39
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... here is the project as offered.

Utilities Discrete COMPANION_2 WELD.sm (20 КиБ) скачан 45 раз(а).
#8 Опубликовано: 09.11.2022 05:42:29
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

You might consider building geometry plots from the pre-defined objects in the XY-Plot-plugin.

xyplot_015.png

xyplot_016.png
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
4 пользователям понравился этот пост
sergio 09.11.2022 07:36:00, NDTM Amarasekera 09.11.2022 09:42:00, Arie 09.11.2022 09:42:00, Alvaro Diaz Falconi 09.11.2022 18:32:00
#9 Опубликовано: 09.11.2022 18:34:13
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: User

Wrote

You might consider building geometry plots from the pre-defined objects in the XY-Plot-plugin. ...



And maybe you may be interested in this other Martin' post, if you want to draw steel profiles to be welded, and by the way calculate their mechanical parameters: https://en.smath.com/forum/yaf_postsm78221_Split-Areas-Polygons-convex-and-concave--by-lines.aspx#post78221

Best regards.
Alvaro.
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений