Calculate FFT from windowed time-based signal
The easy way to plot something with a logarithmic scale would be to just take the logarithm of the variable. 

logspectrum = log(spectrum);
The source of some files is available when you type edit function name, example:

edit unique


However, not all Matlab source is available, so unfortunately you cannot customize everything this easily.