[mesa-users] Question about saving and using png/ps plots
Anne Thoul
anne.thoul at ulg.ac.be
Thu Feb 26 17:59:21 EST 2015
Hi,
You can get pgstar output in files setting the file_flags to true in the pgstar input file.
For example, if you want to keep files of the TRho_Profile window you set
TRho_Profile_file_flag = .true.
TRho_Profile_file_dir = 'png'
TRho_Profile_file_prefix = 'trho_profile_'
You have to create a png directory in your work directory and the png files will be stored there.
You can specify how many of these files you want to keep.
Examples and explanations can be found in the pgstar.default and pgstar.README files,
which are in the /star/default directory.
Anne
Le 26 févr. 2015 à 11:24, Michal Simon <michal.simon at stonybrook.edu> a écrit :
> First, thanks to the several good souls who replied, and replied quickly,
> to my question about disabling PGPLOTs for remote logins. Your advice
> worked fine. I have yet to try Bill Paxton's suggestion. I'll have to ask
> Max Katz, our local MESA black belt, for advice with that.
>
> I am having MESA calculate PMS evolutionary tracks and display them as H-R
> diagrams. When I do look at the nifty plots on the terminal screen, after MESA
> finishes - say bcz it has reached my age upper limit - the plots disappear, poof.
> It would be nice to save the last plot displayed bcz it shows the entire .track.
> As it is, I plot the tracks in IDL using the results written into the history.data file.
>
> But, in an attempt to save the on screen plots, I redirected the output of ./rn into
> a file. That wrote *.png and *ps files in the subdirectory png. Sadly, these plot
> look nothing like the onscreen plots. I attach png and ps samples. What
> should I do to have the tracks saved and displayed properly?
>
> BTW, as a less important thing, in the results written into history.data appear
> as double precision values to 16 decimal places. Obviously I do not need that
> precision. I would like to write values to say only 6 places. I have tried to
> accomplish in several places in the defaults directory where it seemed like
> the user had the freedom of choice of format, but none of that changed my
> history.data output. How can I accomplish writing the numerical results more
> compactly?
>
> Cheers and thanks in advance, Mike Simon
>
>
>
>
> <logL_Teff_00500.png><logL_Teff_00500.ps>------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/_______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
More information about the Mesa-users
mailing list