Get spectral picture from a wavelet transform
Try this one:

m=cwt(y,1:100,'sym2','plot');
colormap(pink)


Result (btw, I cannot reproduce your curve in time domain with the function generate1):



Low scale values compress the wavelet and correlate better with high frequencies. While high scale values stretch the wavelet and correlate better with the low frequency content of the signal.