#!/bin/csh
#Required parameters:
###################################################
set plot     = "Radio evolution" 
set Star     = "SN 1996cr"
#set object   = "\objS{* alf UMi}{\alpha UMi}"
#               "\vizier{-source=$theCat/$theTab\&ID=$Star}{$Star}"
set Fall     = "3=cyan4;4=blue;5=green4;6=red;7=red4;all"
if ("$theTab" =~ *a2) then
    set t = "AGN nucleus"
else
    set t = "remnant"
endif
set Ft = "20=cyan4;7.5=blue;5=green4;2.5=red;1.4=red4"
set title    = "Evolution of \object{$Star} $t at `graph_title '$Ft'`GHz"
######################################################
# Optional parameters:
#######################################################
set JD0      = 0000		# Origin of JD (default is 2450000)
#set Fdef     = # default filter(s) to plot (default="all")
#set Flab     =  "Tr"		# Name of menu with filters, default is "F"
#set Pdef     = "1.2345678"	# Default value of period
set has_err  = 1 # must be defined to plot error bars
set has_lim  = 1 # must be defined to plot also limits(>) with triangle
set is_flux  = 1 # 1=flux; 2=Velocity; 0=mag (default)
set Xcol     = "Time"
set Ycol     = "/[Sint]*[3-7]/"
set Xlab     = "t (days since explosion)"
set Ylab     = "Integrated flux [mJy]"
#set theFile  = name of the file(s) for the plot (defaut=$theTab)
#set def_err  = 0 # value of the error when missing
#set has_file = 1 # the Fall list contains also the associated file(s)
#set is_diff  = 1 # must be defined if diff. magnitudes (or relative flux)
#set is_phase = 1 # 1=X-axis contains a Phase, not a time
#set err_max  = 0.01  # Points with error>=err_max are ignored.
#set no_xlim  = 1 # must be defined to remove the limits (in case of Phase)
#set gfilter  = (awk '/^[0-9 ]/{if($3>0.01)next}{print}')  # data filtering
#set photosys = name of photometric system
#            (when contains Jy or Flux => is_flux=1)
#set size_lab    = 0.05	# size of the labels
#set size_left   = 0.19	# size of the left area
#set size_symbol = 0.02	# size of the symbols
#set graph_color = "`graph_color '$Fall'`"  # Colors for graph
source $Vroot/lib/graph/lc-mag.csh
exit $status

