sparse_display_test
sparse_display_test,
a MATLAB program which
calls sparse_display() to read information defining a matrix of numbers and display
the sparsity pattern or location of the nonzero elements using
gnuplot. This operation is already available in the built-in
MATLAB "spy" command.
Licensing:
The computer code and data files made available on this
web page are distributed under
the GNU LGPL license.
Related Data and Programs:
sparse_display,
a MATLAB library which
can read information defining a matrix of numbers and display
the sparsity pattern or location of the nonzero elements using
gnuplot. This operation is already available in the built-in
matlab "spy" command.
Source Code:
-
sparse_display_test01.m,
tests spy_ge().
-
r8mat_uniform_01.m,
returns a pseudorandom uniform R8MAT.
-
wathen_ge.m,
sets up the Wathen matrix in GE format.
-
wathen_order.m,
returns the size of the Wathen matrix.
-
wathen_ge_data.txt,
data defining the location of the nonzero entries of the Wathen
matrix.
-
wathen_ge_commands.txt,
gnuplot commands to display the data.
-
wathen_ge.png,
an image of the sparsity pattern for the Wathen matrix.
-
sparse_display_test02.m,
tests spy_file().
-
before_data.txt,
data defining the location of the nonzero entries of a matrix,
as created by DEAL.II.
-
before_commands.txt,
gnuplot commands to display the data.
-
before.png,
an image of the sparsity pattern for the before matrix.
-
after_data.txt,
data defining the location of the nonzero entries of a matrix,
as created by DEAL.II (after reordering of variables).
-
after_commands.txt,
gnuplot commands to display the data.
-
after.png,
an image of the sparsity pattern for the after matrix.
-
30x20_data.txt,
data defining the location of the nonzero entries of the 30x20
matrix.
-
30x20_commands.txt,
gnuplot commands to display the data.
-
30x20.png,
an image of the sparsity pattern for the 30x20 matrix.
Last revised on 21 March 2019.