how to plot discrete function

how to plot discrete function - Mensajes

#1 Publicado: 8/11/2022 14:37:51
Mo

Mo

0 me gusta en 34 mensajes.

Grupo: 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.

Archivo no encontrado.Archivo no encontrado.
Thanks
#2 Publicado: 8/11/2022 15:18:08
Arie

Arie

94 me gusta en 285 mensajes.

Grupo: User

One possible options mat2sys.1() function.

Untitled.png
test_alyles.sm (35,91 KiB) descargado 1278 vez(es).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
A 1 usuarios les gustó este mensaje
sergio 8/11/2022 15:53:00
#3 Publicado: 8/11/2022 15:48:06
Mo

Mo

0 me gusta en 34 mensajes.

Grupo: User

Many thanks, alyles!!
#4 Publicado: 8/11/2022 16:20:38
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 8/11/2022 16:51:40
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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,37 KiB) descargado 1271 vez(es).
#6 Publicado: 8/11/2022 20:36:11
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 8/11/2022 22:08:39
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

... here is the project as offered.

Utilities Discrete COMPANION_2 WELD.sm (20,2 KiB) descargado 1309 vez(es).
#8 Publicado: 9/11/2022 5:42:29
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

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

xyplot_015.png

xyplot_016.png
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 4 usuarios les gustó este mensaje
sergio 9/11/2022 7:36:00, NDTM Amarasekera 9/11/2022 9:42:00, Arie 9/11/2022 9:42:00, Alvaro 9/11/2022 18:32:00
#9 Publicado: 9/11/2022 18:34:13
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: 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.
  • Nuevos mensajes
  • Sin mensajes nuevos