2D plot, parametric functions

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

#1 Objavljeno: 11. 10. 2023. 21:51:06
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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) preuzeto 1810 put(ova).

UserPostedImage UserPostedImage UserPostedImage
1 korisnika je svidelo ovu objavu
Oscar Campo 11. 10. 2023. 22:28:00
#2 Objavljeno: 14. 10. 2023. 21:28:44
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: 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 Objavljeno: 15. 10. 2023. 02:04:12
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

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

Freak X_Y.sm (18,18 KiB) preuzeto 1810 put(ova).
#4 Objavljeno: 17. 10. 2023. 14:46:49
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

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

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

1.558 svidjanja u 1.868 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Oscar Campo 17. 10. 2023. 16:51:00, Alvaro 18. 10. 2023. 04:50:00
  • Novi postovi
  • Nema novih postova