Dear Hosein,

Isn't this what you search?
https://kwant-project.org/doc/1/tutorial/plotting

I hope this helps,
Adel

On Mon, Dec 28, 2020 at 10:12 AM Khani Hosein <hoseinkhaniphy@gmail.com> wrote:
Dear all,
I find in the discussion list that we can use kwant.plot to plot the hopping strength,
def hopping_strength(site1, site2):
    return sys.hamiltonian(site1, site2)
kwant.plot(sys, hop_lw=hopping_strength)
Can we plot the onsite energy of the system similarly?
Regards
Khani Hosein


--
Abbout Adel