Page 1 of 1

Plot of the gap distribution vs temperature.

Posted: Mon Sep 02, 2019 7:32 am
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

Re: Plot of the gap distribution vs temperature.

Posted: Wed Sep 04, 2019 4:30 pm
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

Re: Plot of the gap distribution vs temperature.

Posted: Thu Sep 19, 2019 12:26 pm
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

Re: Plot of the gap distribution vs temperature.

Posted: Fri Sep 20, 2019 1:02 pm
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