%% Find All Objects with Specified Property
% Create a vector of four values. Display the values using a line plot, an area plot, and a bar graph.

y = [1 5 6 3];
subplot(3,1,1)
plot(y)
subplot(3,1,2)
area(y)
subplot(3,1,3)
bar(y)

% Return all objects that have a BaseValue property.

h = findobj('-property','BaseValue')

% Copyright 2020 The MathWorks, Inc.