
&pgstar
        ! Makes a grid with useful plots for novae


       Grid1_win_flag = .true.
       Grid1_file_flag = .true.
       Grid1_win_width = 10




! Open the pgstar window on the screen
!        Grid1_win_flag = .true.
!        Grid1_file_flag = .false.
!        Grid1_win_width = 10

! or write out png's
!       Grid1_win_flag = .false.
!       Grid1_file_flag = .true.
!       Grid1_win_width = 18

                
        pgstar_lw = 4

        TRho_Profile_win_flag = .false.

        TRho_Profile_win_width = 6
        TRho_Profile_win_aspect_ratio = 0.75 ! aspect_ratio = height/width

        TRho_Profile_xleft = 0.15
        TRho_Profile_xright = 0.85
        TRho_Profile_ybot = 0.15
        TRho_Profile_ytop = 0.85
        TRho_Profile_txt_scale = 1.0
        TRho_Profile_title = ''      

        TRho_switch_to_Column_Depth = .false. 
        ! if true, replace logRho for xaxis by log column depth (g/cm^2)

        show_TRho_Profile_legend = .true.
        TRho_Profile_legend_coord = 0.05
        TRho_Profile_legend_fjust = 0.0
        TRho_Profile_legend_disp1 = -2.0
        TRho_Profile_legend_del_disp = -1.3

        show_TRho_Profile_text_info = .true.
        TRho_Profile_text_info_xfac = 0.77 ! controls x location
        TRho_Profile_text_info_dxfac = 0.02 ! controls x spacing to value from text
        TRho_Profile_text_info_yfac = 0.6 ! controls y location of 1st line
        TRho_Profile_text_info_dyfac = -0.04 ! controls line spacing

        TRho_Profile_ymin = 4.0
        TRho_Profile_ymax = 9.0
        TRho_Profile_xmin = -8.0
        TRho_Profile_xmax = 8.0


        Abundance_win_flag = .false.

        Abundance_win_width = 6
        Abundance_win_aspect_ratio = 0.75 ! aspect_ratio = height/width

        Abundance_xleft = 0.15
        Abundance_xright = 0.85
        Abundance_ybot = 0.15
        Abundance_ytop = 0.85
        Abundance_txt_scale = 1.0   
        Abundance_title = ''      

        Abundance_num_isos_to_show = -1
        Abundance_which_isos_to_show(1) = 'h1'
        Abundance_which_isos_to_show(2) = 'he3'
        Abundance_which_isos_to_show(3) = 'he4'
        Abundance_which_isos_to_show(4) = 'c12'
        Abundance_which_isos_to_show(5) = 'n14'
        Abundance_which_isos_to_show(6) = 'o16'

        num_abundance_line_labels = 5
        Abundance_line_txt_scale_factor = 0.8 ! relative to other text

        Abundance_legend_max_cnt = 16
        Abundance_legend_txt_scale_factor = 0.8 ! relative to other text

        Abundance_xaxis_name = 'logP' 
        Abundance_xaxis_reversed = .false.

        ! power xaxis limits -- to override system default selections
        !Abundance_xmin = 2.0 ! only used if /= -101d0
        !Abundance_xmax = 10.5 ! only used if /= -101d0

        ! abundance yaxis limits -- to override system default selections
        Abundance_log_mass_frac_min = -6.0 ! only used if < 0
        Abundance_log_mass_frac_max = 0.3

        ! file output
        Abundance_file_flag = .false.
        Abundance_file_dir = 'png'
        Abundance_file_prefix = 'abund_'
        !Abundance_file_cnt = 5 ! output when mod(model_number,Abundance_file_cnt)==0
        Abundance_file_width = -1 ! (inches) negative means use same value as for window
        Abundance_file_aspect_ratio = -1 ! negative means use same value as for window


        History_Panels1_win_flag = .false.

        History_Panels1_win_width = 6
        History_Panels1_win_aspect_ratio = 0.75 ! aspect_ratio = height/width

        History_Panels1_xleft = 0.15
        History_Panels1_xright = 0.85
        History_Panels1_ybot = 0.15
        History_Panels1_ytop = 0.85
        History_Panels1_txt_scale = 1.0         
        History_Panels1_title = ''      

        History_Panels1_xaxis_name = 'model_number'
        !	History_Panels1_xaxis_name = 'star_age'

        !   History_Panels1_xaxis_name = 'star_age_hr'
        !  History_Panels1_xaxis_name = 'star_age_sec'
        History_Panels1_xmin = -101d0
        History_Panels1_xmax = -101d0 
        !   History_Panels1_max_width = 1000.0  ! only used if > 0.  causes xmin to move with xmax.
        History_Panels1_max_width = -1 ! only used if > 0.  causes xmin to move with xmax.
        History_Panels1_dxmin = -1
        History_Panels1_xaxis_reversed = .false.
        History_Panels1_xaxis_log = .false. ! show log10 of abs value

        History_Panels1_yaxis_name(:) = '' 
        History_Panels1_yaxis_reversed(:) = .false.
        History_Panels1_yaxis_log(:) = .false. ! show log10 of abs value
        History_Panels1_ymin(:) = -101d0 ! only used if /= -101d0
        History_Panels1_ymax(:) = -101d0 ! only used if /= -101d0        
        History_Panels1_ymargin(:) = 0.1 
        History_Panels1_dymin(:) = -1 

        History_Panels1_other_yaxis_name(:) = '' 
        History_Panels1_other_yaxis_reversed(:) = .false.
        History_Panels1_other_yaxis_log(:) = .false. ! show log10 of abs value
        History_Panels1_other_ymin(:) = -101d0 ! only used if /= -101d0
        History_Panels1_other_ymax(:) = -101d0 ! only used if /= -101d0        
        History_Panels1_other_ymargin(:) = 0.1 
        History_Panels1_other_dymin(:) = -1 

        ! setup default
        History_Panels1_num_panels = 3

        History_Panels1_yaxis_name(1) = 'log_L' 
        History_Panels1_yaxis_reversed(1) = .false.
        History_Panels1_ymin(1) = -101d0 ! only used if /= -101d0
        History_Panels1_ymax(1) = -101d0 ! only used if /= -101d0        
        History_Panels1_dymin(1) = -1 

        !         History_Panels1_other_yaxis_name(1) = 'star_mdot' 
        History_Panels1_other_yaxis_name(1) = 'log_abs_mdot' 
        !         History_Panels1_other_yaxis_name(1) = 'num_zones' 
        !         History_Panels1_other_yaxis_name(1) = 'species' 
        History_Panels1_other_yaxis_reversed(1) = .false.
        History_Panels1_other_ymin(1) = -101d0 ! only used if /= -101d0
        History_Panels1_other_ymax(1) = -101d0 ! only used if /= -101d0        
        History_Panels1_other_dymin(1) = -1 

        History_Panels1_yaxis_name(2) = 'log_Teff' 
        History_Panels1_yaxis_reversed(2) = .false.
        History_Panels1_ymin(2) = -101d0 ! only used if /= -101d0
        History_Panels1_ymax(2) = -101d0 ! only used if /= -101d0        
        History_Panels1_dymin(2) = -1 

        History_Panels1_other_yaxis_name(2) = 'log_R' 
        History_Panels1_other_yaxis_reversed(2) = .false.
        History_Panels1_other_ymin(2) = -101d0 ! only used if /= -101d0
        History_Panels1_other_ymax(2) = -101d0 ! only used if /= -101d0        
        History_Panels1_other_dymin(2) = -1 

        History_Panels1_yaxis_name(3) = 'log_dt' 
        History_Panels1_yaxis_reversed(3) = .false.
        History_Panels1_ymin(3) = -101d0 ! only used if /= -101d0
        History_Panels1_ymax(3) = -101d0 ! only used if /= -101d0        
        History_Panels1_dymin(3) = -1 

        History_Panels1_other_yaxis_name(3) = 'num_zones' 
        History_Panels1_other_yaxis_reversed(3) = .false.
        History_Panels1_other_ymin(3) = -101d0 ! only used if /= -101d0
        History_Panels1_other_ymax(3) = -101d0 ! only used if /= -101d0        
        History_Panels1_other_dymin(3) = -1 


        Network_win_flag = .false.
        Network_win_width = 6
        Network_win_aspect_ratio = 0.75
        Network_xleft = 0.15
        Network_xright = 0.85
        Network_ybot = 0.15
        Network_ytop = 0.95
        Network_txt_scale = 1.0
        Network_title = ''

        Network_nmin = -101d0
        Network_nmax = -101d0
        Network_zmin = -101d0
        Network_zmax = -101d0

        Network_show_mass_fraction = .true.

        Network_log_mass_frac_min = -6.0d0
        Network_log_mass_frac_max = 0.0d0

        Network_show_element_names = .true.

        Network_use_decorator = .false.

        Network_show_colorbar = .false.

        Network_file_flag = .false.
        Network_file_dir = 'png'
        Network_file_prefix = 'Network_'
        Network_file_interval = 5
        Network_file_width = -1
        Network_file_aspect_ratio = -1


        History_Track1_win_flag = .false.      
        History_Track1_win_width = 8
        History_Track1_win_aspect_ratio = 0.75 ! aspect_ratio = height/width

        History_Track1_xleft = 0.15
        History_Track1_xright = 0.85
        History_Track1_ybot = 0.15
        History_Track1_ytop = 0.85
        History_Track1_txt_scale = 1.0
        History_Track1_title = ''      

        ! set default
        History_Track1_xname = 'h_rich_layer_mass'
        History_Track1_yname = 'max_eps_h_lgT'
        History_Track1_xaxis_label = 'h_rich_layer_mass'
        History_Track1_yaxis_label = 'max_eps_h_lgT'
        History_Track1_reverse_xaxis = .false.
        History_Track1_reverse_yaxis = .false.
        History_Track1_log_xaxis = .true. ! show log10 of abs value
        History_Track1_log_yaxis = .false. ! show log10 of abs value

        History_Track1_xmin = -101d0 ! only used if /= -101d0
        History_Track1_xmax = -101d0 ! only used if /= -101d0
        History_Track1_ymin = -101d0 ! only used if /= -101d0
        History_Track1_ymax = -101d0 ! only used if /= -101d0

        History_Track1_xmargin = 0.1
        History_Track1_ymargin = 0.1
        History_Track1_dxmin = -1 
        History_Track1_dymin = -1 

        History_Track1_step_min = -1 ! only plot models with model number >= this
        History_Track1_step_max = 999999 ! only plot models with model number <= this

        show_History_Track1_target_box = .false.
        History_Track1_n_sigma = -3 ! -n means show sig 1..n
        History_Track1_xtarget = 0
        History_Track1_xsigma = 0
        History_Track1_ytarget = 0
        History_Track1_ysigma = 0  

        show_History_Track1_annotation1 = .false.
        show_History_Track1_annotation2 = .false.
        show_History_Track1_annotation3 = .false.

        History_Track1_fname = '' ! file name for extra track data

        ! file output
        History_Track1_file_flag = .false.
        History_Track1_file_dir = 'png'
        History_Track1_file_prefix = 'track1_'
        !History_Track1_file_cnt = 5 ! output when mod(model_number,History_Track1_file_cnt)==0
        History_Track1_file_width = -1 ! (inches) negative means use same value as for window
        History_Track1_file_aspect_ratio = -1 ! negative means use same value as for window



        !### Grid1

        Grid1_win_aspect_ratio = 0.75 ! aspect_ratio = height/width

        Grid1_xleft = 0.12 ! fraction of full window width for margin on left
        Grid1_xright = 0.95 ! fraction of full window width for margin on right
        Grid1_ybot = 0.08 ! fraction of full window width for margin on bottom
        Grid1_ytop = 0.9 ! fraction of full window width for margin on top
        Grid1_title = ''

        Grid1_plot_name(:) = ''
        Grid1_plot_row(:) = 1 ! number from 1 at top
        Grid1_plot_rowspan(:) = 1 ! plot spans this number of rows
        Grid1_plot_col(:) =  1 ! number from 1 at left
        Grid1_plot_colspan(:) = 2 ! plot spans this number of columns 
        Grid1_plot_pad_left(:) = 0.0 ! fraction of full window width for padding on left
        Grid1_plot_pad_right(:) = 0.00 ! fraction of full window width for padding on right
        Grid1_plot_pad_top(:) = 0.0 ! fraction of full window height for padding at top
        Grid1_plot_pad_bot(:) = 0.0 ! fraction of full window height for padding at bottom
        Grid1_txt_scale_factor(:) = 0.5 ! multiply txt_scale for subplot by this

        ! set default
        Grid1_num_cols = 4 ! divide plotting region into this many equal width cols
        Grid1_num_rows = 2 ! divide plotting region into this many equal height rows
        Grid1_num_plots = 5 ! <= 10

        Grid1_plot_name(1) = 'TRho_Profile'
        Grid1_plot_row(1) = 1 ! number from 1 at top
        Grid1_plot_rowspan(1) = 1 ! plot spans this number of rows
        Grid1_plot_col(1) =  3 ! number from 1 at left
        !Grid1_plot_colspan(1) = 1 ! plot spans this number of columns 
        Grid1_plot_pad_left(1) = 0.03 ! fraction of full window width for padding on left
        Grid1_plot_pad_right(1) = 0.03 ! fraction of full window width for padding on right
        Grid1_plot_pad_top(1) = -0.03 ! fraction of full window height for padding at top
        Grid1_plot_pad_bot(1) = 0.08 ! fraction of full window height for padding at bottom
        Grid1_txt_scale_factor(1) = 0.6 ! multiply txt_scale for subplot by this

        Grid1_plot_name(2) = 'abundance'
        Grid1_plot_row(2) = 2 ! number from 1 at top
        Grid1_plot_rowspan(2) = 1 ! plot spans this number of rows
        Grid1_plot_col(2) =  3 ! number from 1 at left
        Grid1_plot_colspan(2) = 2 ! plot spans this number of columns 
        Grid1_plot_pad_left(2) = 0.03 ! fraction of full window width for padding on left
        Grid1_plot_pad_right(2) = 0.03 ! fraction of full window width for padding on right
        Grid1_plot_pad_top(2) = 0.0 ! fraction of full window height for padding at top
        Grid1_plot_pad_bot(2) = 0.0 ! fraction of full window height for padding at bottom
        Grid1_txt_scale_factor(2) = 0.6 ! multiply txt_scale for subplot by this

        Grid1_plot_name(3) = 'history_panels1'
        Grid1_plot_row(3) = 1 ! number from 1 at top
        Grid1_plot_rowspan(3) = 1 ! plot spans this number of rows
        Grid1_plot_col(3) =  1 ! number from 1 at left
        Grid1_plot_colspan(3) = 2 ! plot spans this number of columns 
        Grid1_plot_pad_left(3) = -0.03 ! fraction of full window width for padding on left
        Grid1_plot_pad_right(3) = 0.15 ! fraction of full window width for padding on right
        Grid1_plot_pad_top(3) = -0.03 ! fraction of full window height for padding at top
        Grid1_plot_pad_bot(3) = -0.1 ! fraction of full window height for padding at bottom
        Grid1_txt_scale_factor(3) = 0.6 ! multiply txt_scale for subplot by this

        Grid1_plot_name(4) = 'history_track1'
        Grid1_plot_row(4) = 2 ! number from 1 at top
        Grid1_plot_rowspan(4) = 1 ! plot spans this number of rows
        Grid1_plot_col(4) =  1 ! number from 1 at left
        Grid1_plot_colspan(4) = 1 ! plot spans this number of columns 
        Grid1_plot_pad_left(4) = -0.04 ! fraction of full window width for padding on left
        Grid1_plot_pad_right(4) = 0.08 ! fraction of full window width for padding on right
        Grid1_plot_pad_top(4) = 0.18 ! fraction of full window height for padding at top
        Grid1_plot_pad_bot(4) = 0.0 ! fraction of full window height for padding at bottom
        Grid1_txt_scale_factor(4) = 0.6 ! multiply txt_scale for subplot by this

        Grid1_plot_name(5) = 'Network'
        Grid1_plot_row(5) = 2 ! number from 1 at top
        Grid1_plot_rowspan(5) = 1 ! plot spans this number of rows
        Grid1_plot_col(5) =  2 ! number from 1 at left
        Grid1_plot_colspan(5) = 1 ! plot spans this number of columns 
        Grid1_plot_pad_left(5) = -0.03 ! fraction of full window width for padding on left
        Grid1_plot_pad_right(5) = 0.08 ! fraction of full window width for padding on right
        Grid1_plot_pad_top(5) = 0.18 ! fraction of full window height for padding at top
        Grid1_plot_pad_bot(5) = 0.0 ! fraction of full window height for padding at bottom
        Grid1_txt_scale_factor(5) = 0.6 ! multiply txt_scale for subplot by this


        Grid1_file_dir = 'png'
        Grid1_file_prefix = 'grid1_'
        Grid1_file_interval = 10 ! output when mod(model_number,Grid1_file_cnt)==0
        Grid1_file_width = -1 ! negative means use same value as for window
        Grid1_file_aspect_ratio = -1 ! negative means use same value as for window



/ ! end of pgstar namelist

