フィルターのクリア

How to fit Spy plot on whole figure screen ?

2 ビュー (過去 30 日間)
Priya
Priya 2013 年 10 月 5 日
Hello
I have a square matrix m X m with 1's and 0's. I want to plot this matrix, such that there is a dot wherever 1 is mentioned in the matrix.
I came across spy function to plot sparse matrix. However, it does not fit onto whole figure screen, which creates overlapping of X and y labels in the plot.
Questions:
How can I fit the square shaped spy plot to the whole figure window / screen ? How can I make grids on this "spy plot" ? At the bottom of the spy plot, "nz" is mentioned. What is meant by nz ??
Thanks

回答 (0 件)

カテゴリ

Help Center および File ExchangeDiscrete Data Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by