2D plot, parametric functions

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

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

overlord

600 apprezzamenti in 1.381 post.

Gruppo: 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) scaricato 1770 volta(e).

UserPostedImage UserPostedImage UserPostedImage
1 utenti hanno apprezzato questo post
Oscar Campo 11/10/2023 22:28:00
#2 Pubblicato: 14/10/2023 21:28:44
Martin Kraska

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: 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 Pubblicato: 15/10/2023 02:04:12
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

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

Freak X_Y.sm (18,18 KiB) scaricato 1769 volta(e).
#4 Pubblicato: 17/10/2023 14:46:49
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: 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 Pubblicato: 17/10/2023 15:14:22
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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
2 utenti hanno apprezzato questo post
Oscar Campo 17/10/2023 16:51:00, Alvaro 18/10/2023 04:50:00
  • Nuovi post
  • Nessun nuovo post