| Author |
Comment/Response |
Anthony
|
04/19/12 3:26pm
Hi,
I am trying to create a user-defined function that mimics the behavior of functions like Plot and Solve when dealing with the independent variable. For example, when I type Plot[Cos[x],{x,0,Pi}], the x's change color and x is treated as a local variable. This allows Mathematica to produce the correct plot even if the user has already assigned a value to x.
Is there any way to do this with a user-defined function? I've searched through the Mathematica help files but I can't find anything about this.
Thanks in advance for your time and help!
URL: , |
|