
30 Aug
2018
30 Aug
'18
6:49 p.m.
Dear Kwant,
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?
Thanks, Eric
Eric Mascot College of Liberal Arts Graduate Student and Sciences Department of Physics emasco2@uic.edu 845 W Taylor St M: 248 433 6435 2158 SES O: 312 413 2109 Chicago, IL 60607
1732
Age (days ago)
1732
Last active (days ago)
0 comments
1 participants
participants (1)
-
Eric Mascot