Below is the codes for the plot data1 = energies = np.linspace(1,4,101)for energy in energies: ldos = kwant.ldos(sys,energy) data1.append(ldos.cumsum())pyplot.figure()pyplot.plot(energies, data1)pyplot.xlabel("energy [t]")pyplot.ylabel("ldos")pyplot.show() and for the other plot I just changed the function ldos.cumsum() with ldos.cumprod().
Could you please submit the code either: in the body of the email but properly formatted (so that it can be easily cut/pasted and be a valid Python program), or put it as an attachment.
Apologies for this; in my email client the code appeared (as you can see) as a single line, and so was not valid Python. When I looked at your message in the Gmail web interface everything was correctly formatted.
I have a suspicion that this is to do with the fact that the email was composed as a HTML email, and the conversion to raw text was somehow scrambled by you mail user agent.
Sorry about that,