Plotting



On 03/29/2012 03:35 PM, Vishnu Rajasekharan wrote:
> Hello:
> I have the following set of expressions.
> define (Z(t),A(t)+(B*C(t)*1000))$
>
> define (Y(t),Z(t)/D(t))$
>
> wxplot2d([Y(25)],[B,0,1])$
>
> wxplot2d([Z(25)],[B,0,1])$
> I need to plot Y(25) in the Y axis and Z(25) in the X axis varying B 
> from 0 to 1 which would be reflected in the X axis.  Any suggestions 
> or help is highly appreciated.
>
To be able to make a plot, you need an expression/function that will 
evaluate to a number.
First make sure that subst(B=0,Y(25)) and subst(B=0,Z(25)) give numbers 
and not expressions.
If you only have the definitions above, they will not evaluate to 
numerical values, because A(25), C(25) and
D(25) will not give numerical values.

Regards,
Jaime