[gpaw-users] Induced electric field plot

Tuomas Rossi tuomas.rossi at aalto.fi
Thu Sep 14 12:16:43 CEST 2017


Dear Vahid,

The plotting scripts like the ones on
https://wiki.fysik.dtu.dk/gpaw/documentation/tddft/inducedfield/inducedfield.html
use Matplotlib library for plotting.

The contour values can be specified like
plt.contourf(X, Y, d_yx, levels=range(0, 33, 1))
See the documentation of the contourf() function on
https://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.contourf

Best,

Tuomas


On 2017-09-13 21:07, Vahid Faramarzi via gpaw-users wrote:
> Dear GPAW community,
> 
> I'm new in GPAW. In induced electric field calculation, i need to
> compare two enhancement field plots with the same colorbar value ranges.
> How can i set the desired colorbar ranges?
> 
> Regards,
> 
> Vahid
> 
> 
> _______________________________________________
> gpaw-users mailing list
> gpaw-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/gpaw-users
> 


More information about the gpaw-users mailing list