MATLAB: How to remove values from the top x-axis

ezplot

Hey all,
Any idea about why am I getting values written on top axis and how to remove it?
Thanks.

Best Answer

Use an empty string for the title argument:
f = @(x) x.^2 - 10*x;
figure(1)
ezplot(f, [-2 2])
grid
title('')