% find_tag.m
% Example of finding objects using its Tag. 
echo on

axes('position', [0.1 0.1 0.8 0.8], 'tag', 'my_axis')
plot(1:10, 'tag','my_line')

h_line = findobj(gcf, 'tag', 'my_line')

echo off