plot of an augment function with 'x'

plot of an augment function with 'x' - it is not possible to plot it - Messages

#1 Posted: 11/26/2015 4:57:20 PM
olik

olik

3 likes in 27 posts.

Group: User

augment x.sm (6 KiB) downloaded 50 time(s).
variable x.png

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
#2 Posted: 11/26/2015 8:40:18 PM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

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.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
olik 11/27/2015 12:39:00 PM
#3 Posted: 11/27/2015 12:47:05 PM
olik

olik

3 likes in 27 posts.

Group: User

Thanks.

Are there SMath other special unknowns? Or functions with special unknowns?

I think - for example - 'x' in integration ( int(T(x),ξ,0,x) ).


Regards Olik

p.s.
I posted a question about it:
http://en.smath.info/forum/yaf_postst7154_What-kinde-of-function-can-I-integrate.aspx
#4 Posted: 11/27/2015 2:49:27 PM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

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 please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • New Posts New Posts
  • No New Posts No New Posts