SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
plot of an augment function with 'x'
Rank: Member Groups: Registered
Joined: 08/03/2012(UTC) Posts: 25 Location: Prague, Dolní Chabry Was thanked: 3 time(s) in 2 post(s)
|
augment x.sm (7kb) downloaded 30 time(s).Hello. It is not possible to plot an augment function with 'x' as parametr. Is it a bug, or some special feature of 'x'? regards Olik
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,648 Location: Italy Was thanked: 1332 time(s) in 876 post(s)
|
This is not a bug. In the 2D plot region x and t are special unknowns (abscissa and animation parameter); both are parsed as local variables (doesn't matter if there are these variables on the canvas as defined values - except for t that can be used if you don't animate the plot). Therefore when you write augment(x,y) you are trying to augment each x displayed in the plot with y. Obviously you can define the input matrix before the plot, outside the region placeholder; in this case x and y are parsed outside the plot and the input is simply the 3x2 matrix. The X-Y plot works differently. Edited by user 20 May 2016 22:25:36(UTC)
| Reason: marked as solved |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Member Groups: Registered
Joined: 08/03/2012(UTC) Posts: 25 Location: Prague, Dolní Chabry Was thanked: 3 time(s) in 2 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,648 Location: Italy Was thanked: 1332 time(s) in 876 post(s)
|
In general, only lastError [this variable will be overwritten by any function giving an error.] and maybe i (there should be a post by Martin Kraska somewhere about issues noticed using i in some special case) and e.
|
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
plot of an augment function with 'x'
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.