3-D plot with z values determined by a matrix
The matrixplot function defines a three-dimensional graph where the x and y coordinates represent the row and column indices of A, respectively. The z values are the corresponding entries of A.
The remaining arguments are options specified as equations of the form option = value. For example:
The plot is drawn in the form of a three-dimensional histogram.
The value of r is a real number between 0 and 1.
The color of the plot is given by F, where F is a color specification as described in the plot/color help page. F can also be a two-argument procedure returning a single real value to be interpreted as a hue rather than RGB value.
Other options include most of those found with plot3d. These include axes, view, title, labels, style, projection, and orientation. See plot3d/option.
The result of a call to matrixplot is a PLOT3D structure which can be rendered by the plotting device. The user may assign a PLOT3D value to a variable, save it in a file, then read it back in for redisplay. See plot3d[structure] for more information.
A ≔ HilbertMatrix⁡8:B ≔ ToeplitzMatrix⁡1,2,3,4,−4,−3,−2,−1,symmetric:
F ≔ x,y→sin⁡x⁢y:
L ≔ HilbertMatrix⁡4,5
L ≔ 112131415121314151613141516171415161718
Y ≔ Matrix⁡20,3,i,j→evalf⁡1+sin⁡i⁢jπ,datatype=float:
The command to create the plot from the Plotting Guide is
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.