MuPAD Pro Computing Essentials, 2nd Edition

Example 8.1 Class Function2d

This is very basic example representing class Function2d.

F1 := plot::Function2d(
   u*sin(1/u), u = -1..1,
   LineWidth = 0.25,
   Mesh = 1000
):
  
plot(F1,
   Scaling = Constrained,
   ViewingBox = [-1..1,-1..1],
   XAxisTitle = "u",
   YAxisTitle = "y",
   ViewingBox=[-0.2..0.2,-0.2..0.2]
 )
 

 

© Miroslaw Majewski, Abu Dhabi,  Update  26-10-2004