How to draw this graph using matlab code ignore the labeling

 Réponse acceptée

KALYAN ACHARJYA
KALYAN ACHARJYA le 1 Août 2019
Modifié(e) : KALYAN ACHARJYA le 1 Août 2019
t=1:.1:8;
y=log(t);
y(t>5)=0;
plot(t,y,'b','linewidth',1);
set(gca,'YTickLabel',[]);
xlabel('Energy');
ylabel('D(E)'); %You can insert signma also, try it
tt.png
MVPs, I don't know what I am doing..I have no clue. Is there any sense to producing the graph like this? From the labels, it seems the plots related to statistical mechanics /quantum mechanics.

2 commentaires

yes sir, it is quantum mechanics work. I dont know how to use matlab but my lecturer ask me to plot graph using it. how do i plot this then? adding another red line graph on it Untitled.png
Hey, read the literature (Energy vs density of states), there may be relation between energy and density of states (D), May be when T>0, the graph behave as red line.
D(E)= Function of (Energy,T, and other terms etc)
Define E (Energy) and all other terms
Calculate D(E) with respect to different values of E
plot(E,D_E)
Discuss with your teacher, regarding Mathematical expression and typical values of all other terms. If you do that, the plot implementation on Matlab, hardly takes 5-10 min.
Is this related to this one, not sure
Good Wishes! Keep Learning!

Connectez-vous pour commenter.

Plus de réponses (1)

the cyclist
the cyclist le 1 Août 2019
Find a similar plot at the MATLAB Plot Gallery, copy the code from there, and adapt it to your case.

Catégories

En savoir plus sur Chemistry dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by