<<<>>>
loadlib("plotlib"):
export(plotlib):
cylindricalplot(Axes = Box, Ticks = 0,
                     [[1, u, z],
                      u = [-PI, PI],  z = [-1, 1],
                      Grid = [20, 20],
                      Style = [HiddenLine, Mesh]
                     ]);
<<<>>>
loadlib("plotlib"):
export(plotlib):
cylindricalplot(Axes = Corner, Ticks = 0,
                     [[u, u, z],
                      u = [-PI, PI], z = [-PI, PI],
                      Grid = [30, 30],
                      Color = [Height],
                      Style = [ColorPatches, AndMesh]
                     ],
                     [[-u, u, z],
                      u = [-PI, PI], z = [-2, 2],
                      Grid = [30, 30],
                      Color = [Height],
                      Style = [ColorPatches, AndMesh]
                     ]);
<<<>>>
loadlib("plotlib"):
export(plotlib):
fieldplot(Axes = Origin, Ticks = 0,
               [[1,sin(y+cos(x))],
                x = [-PI, PI], y = [-PI, PI],
                Grid = [30, 30], Color = [Height]
               ]);
    
<<<>>>
loadlib("plotlib"):
export(plotlib):
fieldplot(Axes = Origin, Ticks = 0,
               [[-y^2, x^2],
                x = [-4, 4], y = [-4, 4],
                Grid = [30, 30], Color = [Height]
               ]);
    
<<<>>>
loadlib("plotlib"):
export(plotlib):
implicitplot(func(x^2+y^2-1),-1..1,-1..1);
<<<>>>
loadlib("plotlib"):
export(plotlib):
g:=func((x^2+y^2)^3-(x^2-y^2)^2,x,y):
implicitplot(g,-1..1,-1..1,7);
<<<>>>
loadlib("plotlib"):
export(plotlib):
polarplot(Axes = None, Ticks = 0,
               [[Phi, Phi],
                Phi = [0, 4*PI], Grid = [100]
               ]);
<<<>>>
loadlib("plotlib"):
export(plotlib):
sphericalplot(Axes = Box, Ticks = 0,
                   [[1, Phi, Theta],
                    Phi = [-PI, PI],  Theta = [0, PI],
                    Grid = [20, 20],
                    Style = [HiddenLine, Mesh]
                   ]);
<<<>>>
loadlib("plotlib"):
export(plotlib):
xrotate(Axes = Box, Ticks = 0,
             [[x, 2*sin(x)], x = [0, 2*PI],
              angle = [0, 2*PI], Grid = [30, 30]
             ]);
<<<>>>
loadlib("plotlib"):
export(plotlib):
yrotate(Axes = Box, Ticks = 0,
             [[x, 2*sin(x)], x = [0, 2*PI],
              angle = [0, 3/2*PI], Grid = [30, 30]
             ]);
<<<>>>
