It is currently Sat Dec 14, 2019 1:24 pm

Tell a friend!

 Page 1 of 1 [ 4 posts ]
 Print view Previous topic | Next topic
Plot of the gap distribution vs temperature.
Author Message

Joined: Fri Apr 26, 2019 11:39 am
Posts: 19
University: Antwerp University
Plot of the gap distribution vs temperature.
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

Mon Sep 02, 2019 7:32 am

Joined: Tue Mar 21, 2017 7:11 pm
Posts: 22
University: BinghamtonUniversity
Re: Plot of the gap distribution vs temperature.
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

Wed Sep 04, 2019 4:30 pm

Joined: Fri Apr 26, 2019 11:39 am
Posts: 19
University: Antwerp University
Re: Plot of the gap distribution vs temperature.
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.

Mikhail

Thu Sep 19, 2019 12:26 pm

Joined: Fri Jan 22, 2016 6:48 pm
Posts: 144
University: SUNY-Binghamton
Re: Plot of the gap distribution vs temperature.
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
PO Box 6000
Binghamton, NY 13902-6000

Fri Sep 20, 2019 1:02 pm
Display posts from previous:  Sort by
 Page 1 of 1 [ 4 posts ]

#### Who is online

Users browsing this forum: No registered users and 3 guests

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forum

Search for:
 Jump to:  Select a forum ------------------ General discussion Theory    Electron-phonon    Superconductivity Compilation Running the code