Skip to content
Snippets Groups Projects
Commit 6f8084ff authored by Andrew Strong's avatar Andrew Strong
Browse files

add genidlplots using plot file name

parent 9059e08b
No related branches found
No related tags found
No related merge requests found
module load idl
rm -f plots.pro
echo e.g. setenv GALPLOT_RESULTS_TXT results_54_melissa2_l_0.50_179.50_180.50_359.50_b_-80.50_-0.50_0.50_80.50_unconv_2019_10yr_P8_3FGL_8yrsensmap_3FGLmodel.txt
echo e.g. setenv GALPLOT_RESULTS_TXT results_54_dev_l_0.50_179.50_180.50_359.50_b_-80.50_-0.50_0.50_80.50_unconv_4FGL_cat_3FGL_model.txt
echo ....
echo getting idl from $GALPLOT_RESULTS_TXT
grep -h idl $GALPLOT_RESULTS_TXT > plots.pro
echo exit >> plots.pro
idl plots.pro
echo old: gv sourcepop_NS.ps &
rm -f viewtheplot
grep -h "gv sourcepop" $GALPLOT_RESULTS_TXT
grep -h "gv sourcepop" $GALPLOT_RESULTS_TXT > viewtheplot
source viewtheplot
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment