[Mesa-users] Plotting main sequence and subgiant liftimes

Pablo Marchant pamarca at gmail.com
Wed Sep 12 12:38:34 EDT 2018

Hi Nicholas,

it seems what you want to do involves combining information from multiple
simulations. This is not something pgstar is designed to do. So I'd
recommend you post-process your simulations and plot your results using
code outside MESA, for instance with python and matplotlib (
https://matplotlib.org/users/pyplot_tutorial.html). Since the MESA output
consist of ASCII files this is straightforward.


On Wed, Sep 12, 2018 at 11:29 AM Nicholas Proietti via Mesa-users <
mesa-users at lists.mesastar.org> wrote:

> Hello all,
> I want to make a pgstar plot that demonstrates how the time a star spends
> on the main sequence (and the subgiant branch) varies with mass, where the
> y-axis is for* t/t⊙* and the x-axis is for (M/M*⊙*)^(-1/2.5). I could not
> find any option  in the pgstar defaults that would allow me to implement
> this straightforwardly, so any assistance would be greatly appreciated.
> Nick Proietti
> --
> Nicholas Proietti
> Undergraduate Major in Physics and Minor in Astronomy
> State University of New York at Oswego
> nproiett@ <nproiett at oswego.edu>oswego.edu <nproiett at oswego.edu> |
> 518-952-5002
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users

Pablo Marchant Campos
M.Sc on Astrophysics, Universidad Católica de Chile
PhD on Astrophysics, Argelander-Institut für Astronomie, Universität Bonn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20180912/b2b0b456/attachment.html>

More information about the Mesa-users mailing list