Download MuPAD from SciFace

MuPAD Pro Computing Essentials - Examples 

Example 6.4 - Scene development 

In this example I will show step by step how to develop a scene and obtain a picture of it.

export(plot, Function2d, Scene):
 
Object1 := Function2d(sin(3*x), x=-PI..PI,
   Color = [0, 0, 0],
   LineWidth = 5
):
 
Object2 := Function2d(x, x=-PI..PI,
   Color = [0.3, 0.1, 1],
   LineWidth = 15
):
 
MyScene := Scene(Object1, Object2,
   ForeGround = [0, 0, 0],
   BackGround = [0.8352, 0.8352, 1],
   Scaling = Constrained
):
 
plot(MyScene)

 

TOP