         
         
   ! here is an example of a grid including an Echelle plot.
   
   ! to use this, copy it into your &pgstar controls in your inlist
   ! rather than in your astero_pgstar_controls.
   
         Grid9_win_flag = .false.
         Grid9_win_width = 11
         Grid9_win_aspect_ratio = 0.7 ! aspect_ratio = height/width
         Grid9_num_cols = 2 ! divide plotting region into this many equal width cols
         Grid9_num_rows = 11 ! divide plotting region into this many equal height rows
         Grid9_num_plots = 5 ! <= 10

         Grid9_xleft = 0.15 ! fraction of full window width for margin on left
         Grid9_xright = 0.85 ! fraction of full window width for margin on right
         Grid9_ybot = 0.02 ! fraction of full window width for margin on bottom
         Grid9_ytop = 0.91 ! fraction of full window width for margin on top
         Grid9_title = 'Change this title'
         
         Grid9_plot_name(1) = 'Echelle'
         Grid9_plot_row(1) = 1 ! number from 1 at top
         Grid9_plot_rowspan(1) = 4 ! plot spans this number of rows
         Grid9_plot_col(1) =  1 ! number from 1 at left
         Grid9_plot_colspan(1) = 1 ! plot spans this number of columns 
         Grid9_plot_pad_left(1) = 0.0 ! fraction of full window width for padding on left
         Grid9_plot_pad_right(1) = 0.05 ! fraction of full window width for padding on right
         Grid9_plot_pad_top(1) = 0.0 ! fraction of full window height for padding at top
         Grid9_plot_pad_bot(1) = 0.09 ! fraction of full window height for padding at bottom
         Grid9_txt_scale_factor(1) = 0.65 ! multiply txt_scale for subplot by this
         
         Grid9_plot_name(2) = 'TRho_Profile' 
         Grid9_plot_row(2) = 5 ! number from 1 at top
         Grid9_plot_rowspan(2) = 4 ! plot spans this number of rows
         Grid9_plot_col(2) =  1 ! number from 1 at left
         Grid9_plot_colspan(2) = 1 ! plot spans this number of columns 
         Grid9_plot_pad_left(2) = 0.00 ! fraction of full window width for padding on left        
         Grid9_plot_pad_right(2) = 0.05 ! fraction of full window width for padding on right        
         Grid9_plot_pad_top(2) = 0.05 ! fraction of full window height for padding at top
         Grid9_plot_pad_bot(2) = 0.01 ! fraction of full window height for padding at bottom
         Grid9_txt_scale_factor(2) = 0.65 ! multiply txt_scale for subplot by this
         
         Grid9_plot_name(3) = 'Mode_Prop' 
         Grid9_plot_row(3) = 1 ! number from 1 at top
         Grid9_plot_rowspan(3) = 4 ! plot spans this number of rows
         Grid9_plot_col(3) =  2 ! number from 1 at left
         Grid9_plot_colspan(3) = 1 ! plot spans this number of columns          
         Grid9_plot_pad_left(3) = 0.05 ! fraction of full window width for padding on left
         Grid9_plot_pad_right(3) = 0.0 ! fraction of full window width for padding on right         
         Grid9_plot_pad_top(3) = 0.00 ! fraction of full window height for padding at top
         Grid9_plot_pad_bot(3) = 0.09 ! fraction of full window height for padding at bottom
         Grid9_txt_scale_factor(3) = 0.65 ! multiply txt_scale for subplot by this
         
         Grid9_plot_name(4) = 'logg_Teff' 
         Grid9_plot_row(4) = 5 ! number from 1 at top
         Grid9_plot_rowspan(4) = 4 ! plot spans this number of rows
         Grid9_plot_col(4) =  2 ! number from 1 at left
         Grid9_plot_colspan(4) = 1 ! plot spans this number of columns          
         Grid9_plot_pad_left(4) = 0.05 ! fraction of full window width for padding on left         
         Grid9_plot_pad_right(4) = 0.0 ! fraction of full window width for padding on right
         Grid9_plot_pad_top(4) = 0.05 ! fraction of full window height for padding at top
         Grid9_plot_pad_bot(4) = 0.01 ! fraction of full window height for padding at bottom
         Grid9_txt_scale_factor(4) = 0.65 ! multiply txt_scale for subplot by this
         
         Grid9_plot_name(5) = 'Text_Summary1'
         Grid9_plot_row(5) = 9 ! number from 1 at top
         Grid9_plot_rowspan(5) = 3 ! plot spans this number of rows
         Grid9_plot_col(5) =  1 ! number from 1 at left
         Grid9_plot_colspan(5) = 2 ! plot spans this number of columns 
         Grid9_plot_pad_right(5) = -0.081 ! fraction of full window width for padding on right
         Grid9_txt_scale_factor(5) = 0.2 ! multiply txt_scale for subplot by this

         Text_Summary1_name(4,4) = 'chi2'
         Text_Summary1_name(5,4) = 'delta_nu_model'

         ! file output
         !Grid9_file_flag = .true.
         Grid9_file_dir = 'png'
         Grid9_file_prefix = 'astero_'
         Grid9_file_cnt = 1 ! output when mod(model_number,Grid9_file_cnt)==0
         Grid9_file_width = -1 ! (inches) negative means use same value as for window
         Grid9_file_aspect_ratio = -1 ! negative means use same value as for window

