30 Aug 2018 30 Aug '18
I am trying to plot the phase of the hopping term.
def hop_c(i,j): return np.angle(sys.hamiltonian(i, j, params=params)[0,0])
kwant.plot(sys, hop_color=hop_c, hop_lw=0.25, site_size=0, cmap=('hsv', 'hsv'));
I would like the limits of the colorbar to be -pi to pi but kwant automatically sets the limits to the min and max. Is there a way to set the limits?
Eric Mascot College of Liberal Arts Graduate Student and Sciences Department of Physics firstname.lastname@example.org 845 W Taylor St M: 248 433 6435 2158 SES O: 312 413 2109 Chicago, IL 60607
Age (days ago)
Last active (days ago)