Plotting text in MuPAD 3.0



Hi MuPAD Officionados,

In the following I am using x to produce the animation range 0..PI/2

The idea is that the user will see a continually updated value of the
gradient of the curve during the animation. Instead, I get a syntax error.


y := x -> sin(x):
plot(plot::Text2d(stringlib::formatf(y'(x),2),[1,2],x=0..PI/2));

Error: Floating point number as 1st argument expected [stringlib::formatf]


Is there a neat way to do this or do I have to produce frames?

Cheers,
Brad


.