next up previous
Next: Boundaries Up: Function Calc_scale Previous: Return values of calc_scale

  
Examples for the use of calc_scale

There are two files which serve as examples for the use of calc_scale. The files are:
- scaleplots.pro
- scaleplot_z.pro
Scaleplot.pro reproduces the plot given in Carroll, Press & Turner [1] for the scale factor. The bad values are simply cut out by the plot ranges.
Scaleplot_z.pro produces a plot for only one model of the universe. This plot includes an additional x-axis on the top of the plot which serves as a z axis. Therefor, for each value of the scalefactor a value for z is calculated. Then some data truncation is performed to get rid of bad values. After this, the tickmark positions (in terms of t) are calculated by interpolating the set of (t,z) values for the desired values of z. Then the plot is drawn with the additional axis.



Peter E. Nugent Jr.
1998-08-21