2D plot, parametric functions

2D plot, parametric functions - Combined with sys() matrices - Сообщения

#1 Опубликовано: 11.10.2023 21:51:06
overlord

overlord

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

Группа: 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 КиБ) скачан 47 раз(а).

UserPostedImage UserPostedImage UserPostedImage
1 пользователям понравился этот пост
Oscar Campo 11.10.2023 22:28:00
#2 Опубликовано: 14.10.2023 21:28:44
Martin Kraska

Martin Kraska

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

Группа: 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
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Опубликовано: 15.10.2023 02:04:12
Jean Giraud

Jean Giraud

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

Группа: User

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

Freak X_Y.sm (18 КиБ) скачан 29 раз(а).
#4 Опубликовано: 17.10.2023 14:46:49
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: 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 Опубликовано: 17.10.2023 15:14:22
Вячеслав Мезенцев

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

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

Группа: 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 пользователям понравился этот пост
Oscar Campo 17.10.2023 16:51:00, Alvaro Diaz Falconi 18.10.2023 04:50:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений