y = rand (3);
subplot (2, 1, 1)
h = bar (y);
set (gca (), 'yscale', 'linear')
fprintf ('linear: basevalue = %.2f\n', get (h(1), 'basevalue'))

subplot (2, 1, 2)
h = bar (y);
set (gca (), 'yscale', 'log')
fprintf ('log: basevalue = %.2f\n', get (h(1), 'basevalue'))
