Discontinuous functions

 

Vertical and horizontal lines


Because the vertical line is not a function, its graph has to be defined in terms of the parametric equations. For example, the vertical line xt) in the Cartesian coordinates (x, y) as t goes from 0 to 4.
     
with(plots):
plot ([2,t, t=0..4],thickness=5)
       Figure 1: Vertical line.            Maple code

 

Point plots


with(plots):
pointplot([[1,2], [-1,2], [1,3]])
Here is an example of how to take two lists of data (containing, for example "x" values and "y" values), combine them with the 'zip' routine, and plot them with "x" values on the horizontal axis, "y" on the vertical:
with(plots):
xlist := [0,1,2,3]:
ylist := [-1,1,-2,2]:
xylist := zip( (x,y) -> [x,y], xlist, ylist );
plot(xylist, style=point);
To reverse things so that the "x" values are displayed vertically:
xylist := zip( (x,y) -> [y,x], xlist, ylist );
plot(xylist, style=point);
(a*b)/c+13*d
ur code
another line
\[ {\frac {ab}{c}}+13\,d \]
(a*b)/c+13*d \[ {\frac {ab}{c}}+13\,d \]
Two n-by-n matrices A and B are called similar if there exists an invertible n-by-n matrix S such that