Plot of the gap distribution vs temperature.

General discussion around the EPW software

Moderator: stiwari

Post Reply
CHILLL
Posts: 50
Joined: Fri Apr 26, 2019 11:39 am
Affiliation:

Plot of the gap distribution vs temperature.

Post by CHILLL »

Dear users and experts,

I really like the look of the graphs where the gap distribution vs temperature is plotted. (See the topmost figure https://ibb.co/8sgFbPS)
I have made a script of my own to make such plots in MATLAB, but I think the way I coded it is really bad and not efficient.
Could you please give an example of how you plot it? I work in python these days, so a python script would do just perfectly!

Thank you very much!

Best, Mikhail

hpaudya1
Posts: 190
Joined: Tue Mar 21, 2017 7:11 pm
Affiliation:

Re: Plot of the gap distribution vs temperature.

Post by hpaudya1 »

Hi Mikhail,

I think this is well explained during the hands on session and tutorial of the EPW school, you can find the plot on second last page of
http://epw.org.uk/School2018/School2018 ... argine.pdf

Best,
Hari Paudyal

CHILLL
Posts: 50
Joined: Fri Apr 26, 2019 11:39 am
Affiliation:

Re: Plot of the gap distribution vs temperature.

Post by CHILLL »

Hi Hari,

I have seen the tutorial. My request is simpler: I just want to see an example of a code that plots such figures.
In Matlab for every gap distribution related to every temperature I introduce new axes, and as a result the code is slow and ugly. In Python I do not even know how to plot it, so it looks pretty.
So I thought somebody knows a nice function or something to plot it in a nicer way.

Thanks for your response!
Mikhail

roxana
Posts: 172
Joined: Fri Jan 22, 2016 6:48 pm
Affiliation:

Re: Plot of the gap distribution vs temperature.

Post by roxana »

Hi,

If you refer to the top figure, this is simply a two dimensional plot that was done in Origin but can be done with any other program such as xmgrace or gnuplot. No script is required, you just plot one column vs. the other.

The bottom figure was also done in Origin without any script, just a two dimensional map of the data. However, you should be able to plot something like this with VESTA. You can look at the tutorial for MgB2 http://epw.org.uk/Documentation/MgB2.

Best,
Roxana
Roxana Margine
Associate Professor
Department of Physics, Applied Physics and Astronomy
Binghamton University, State University of New York

Post Reply