Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline overlord  
#1 Posted : 12 October 2023 03:51:06(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
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 (24kb) downloaded 16 time(s).

thanks 1 user thanked overlord for this useful post.
on 12/10/2023(UTC)

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline mkraska  
#2 Posted : 15 October 2023 03:28:44(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
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://smath.com/wiki/SMath_with_Plugins.ashx
Offline Jean Giraud  
#3 Posted : 15 October 2023 08:04:12(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
This freak can be doctored. However, a native bug.

Freak X_Y.sm (19kb) downloaded 3 time(s).
Offline Razonar  
#4 Posted : 17 October 2023 20:46:49(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
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.
Offline uni  
#5 Posted : 17 October 2023 21:14:22(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
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
thanks 2 users thanked uni for this useful post.
on 17/10/2023(UTC),  on 18/10/2023(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.