close all % histogram figure() x = randn(2000,1); hist(x, 50, 'gray') box('off');