%% Test for Valid Handles
% Create a plot and return the handle array. Test array for valid handles.

H = plot(rand(5));
isgraphics(H)

% Copyright 2012 The MathWorks, Inc.