[mesa-users] Question about saving and using png/ps plots

Michal Simon michal.simon at stonybrook.edu
Thu Feb 26 14:24:05 EST 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20150226/8d2496b2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logL_Teff_00500.png
Type: image/png
Size: 3129 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20150226/8d2496b2/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logL_Teff_00500.ps
Type: application/postscript
Size: 8837 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20150226/8d2496b2/attachment.ps>


More information about the Mesa-users mailing list