How to change the plotting style of the exciton weight plot in k-space
Posted: Thu Aug 22, 2024 7:50 am
Dear Developers,
I have successfully obtained the exciton weights using the following code.
However, I would like to know if the style of this image can be further modified. For example:
1. Modify the colormap of the image.
2. Obtain a colorbar and the corresponding values for each color.
Thank you.
Best wishes
Jingda GUo
I have successfully obtained the exciton weights using the following code.
Code: Select all
if Kspace_Plot:
fig = plt.figure(figsize=(10,10),dpi=300)
ax = fig.add_axes( [ 0, 0, 1, 1 ])
yexc.plot_exciton_2D_ax(ax,states,mode='hexagon',limfactor= 1,scale= 1100)
plt.savefig('A.jpg')
1. Modify the colormap of the image.
2. Obtain a colorbar and the corresponding values for each color.
Thank you.

Best wishes
Jingda GUo