www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/CreateCompassGraphExample.m
%% Create Compass Graph % Create a compass graph of the eigenvalues of a random matrix. % Copyright 2015 The MathWorks, Inc. rng(0,'twister') % initialize random number generator M = randn(20,20); Z = eig(M); figure compass(Z)