Esempio n. 1
0
import mesaPlot as mp
import matplotlib.pyplot as plt

m = mp.MESA()
m.log_fold = 'examples/LOGS/'
m.loadProfile(num=-1)
p = mp.plot()

fig = plt.figure(figsize=(12, 10))
ax = fig.add_subplot(111)

#Simply plot
p.plotTRho(m, fig=fig, ax=ax, show=False, showAll=True, show_mix=True)
plt.show()
Esempio n. 2
0
 def setUp(self):
     self.m = mp.MESA()
     self.p = mp.plot()
     self.m.loadHistory()
     self.m.loadProfile(num=1)