Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
plots[sparsematrixplot] - 2-D plot of nonzero values of a matrix
Calling Sequence
sparsematrixplot(A, options)
Parameters
A
-
Matrix
matrixview
BooleanOpt('matrixview')
Description
The sparsematrixplot function defines a two-dimensional graph with the x and y coordinates representing by default the row and column indices, respectively. If the option matrixview is given, the x and y coordinates represent the column and row indices, with the axes appropriately relabeled. The drawback of relabeling is that the coordinates of a selected point can no longer be found.
It plots a point for every nonzero entry of the matrix. It is useful for displaying sparsity patterns of matrices.
Remaining arguments are interpreted as options which are specified as equations of the form option = value. See plot/options for more information.
The result of a call to sparsematrixplot is a PLOT structure which can be rendered by the plotting device. The user may assign a PLOT value to a variable, save it in a file, then read it back in for redisplay. See plot/structure.
sparsematrixplot may be defined by with(plots) or with(plots,sparsematrixplot). It can also be used by the name plots[sparsematrixplot].
Examples
The commands to create the plot from the Plotting Guide are
See Also
LinearAlgebra, LinearAlgebra[GaussianElimination], LinearAlgebra[RandomMatrix], Matrix, plot, plot/options, plot/structure, plots[matrixplot]
Download Help Document