[Mesa-users] How to save MESA plots to an image file
Willie Strickland
cwskas at gmail.com
Fri Aug 17 15:33:37 EDT 2018
To follow-up on Hector’s response. I routinely use
pgstar_flag = .true.
save_pgstar_files_when_terminate = .true.
in the &star_job portion of my inlist.
Using the HR plot as an example, if you set the corresponding flag in the &pgstar section (or in your separate inlist_pgstar)
HR_file_flag = .true.
HR_file_interval = 100000 ! set to large number to just save the last file
Only the last HR plot image will be saved.
I do this regularly when I am working on the logistics of getting something working and am repeating the same run in a batch. It allows me the graphical reference to compare from run to run.
Willie
> On Aug 17, 2018, at 12:31 PM, Héctor MR via Mesa-users <mesa-users at lists.mesastar.org> wrote:
>
> Hi Nicholas,
>
> is there anyway to save the plots that MESA makes during a calculation to an image file that can be viewed later. So far I have been screenshoting the plot windows.
>
> You should set *_file_flag = .true. in whichever PGSTAR plot you have (TRho_profile, History_Track1,...). I encourage you to look at the PGSTAR documentation (http://mesa.sourceforge.net/pgstar_defaults.html#file_output <http://mesa.sourceforge.net/pgstar_defaults.html#file_output>) for more information. You can even put all your files together and create a movie.
>
>
> --
> H.
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20180817/521f4e22/attachment.html>
More information about the Mesa-users
mailing list