2D plot, parametric functions

2D plot, parametric functions - Combined with sys() matrices - Mensajes

#1 Publicado: 11/10/2023 21:51:06
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

When a parametric function is stacked with sys() nested matrix or matrices, it doesn't plot.
It is plotting if they are at same level in sys(), plot1 example.
When there is no parametric function, there is no problem, plot3 example.
Otherwise 2D plot is not capable to execute.
XY-Plot has no issues at all.

Regards

plotbug.sm (23,75 KiB) descargado 1764 vez(es).

UserPostedImage UserPostedImage UserPostedImage
A 1 usuarios les gustó este mensaje
Oscar Campo 11/10/2023 22:28:00
#2 Publicado: 14/10/2023 21:28:44
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

Once in general the plot regions (built-in, X-Y Plot) can handle nested lists, it is fair to call the failure to do so in special cases a bug
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#3 Publicado: 15/10/2023 2:04:12
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

This freak can be doctored. However, a native bug.

Freak X_Y.sm (18,18 KiB) descargado 1764 vez(es).
#4 Publicado: 17/10/2023 14:46:49
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Another example where the bug described by overlord makes things more complicated as the SMath plot cannot handle nested lists

Clipboard01.png

Best regards.
Alvaro.
#5 Publicado: 17/10/2023 15:14:22
Вячеслав Мезенцев

Вячеслав Мезенцев

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

Parsing the input data is a rather difficult part of such components. A dedicated designer is needed to cover commonly used use cases while avoiding ambiguity.
Some of the examples shown here were not originally intended to be used, but are artifacts of a particular implementation. Increasing complexity of input variants requires careful testing of compatibility with old behavior. This is especially true for nested structures.
For X-Y Plot component, I chose some use cases that I indicated in the first post and, when updating, I constantly checked that the specified examples worked correctly.
Russia ☭ forever, Viacheslav N. Mezentsev
A 2 usuarios les gustó este mensaje
Oscar Campo 17/10/2023 16:51:00, Alvaro 18/10/2023 4:50:00
  • Nuevos mensajes
  • Sin mensajes nuevos