Commit 3dd007dfcc5c446ed6865b70e9c96df9b909ca9f
1 parent
b36e1e5e
Exists in
master
added png plot options
Showing
2 changed files
with
6 additions
and
6 deletions
Show diff stats
src/idl/dustem_fit_sed_readme.pro
@@ -71,7 +71,7 @@ ENDIF ELSE BEGIN | @@ -71,7 +71,7 @@ ENDIF ELSE BEGIN | ||
71 | ENDELSE | 71 | ENDELSE |
72 | 72 | ||
73 | IF keyword_set(png) THEN BEGIN | 73 | IF keyword_set(png) THEN BEGIN |
74 | - dir_png=!dustem_data+'/Figures/' | 74 | + dir_png=!dustem_dat+'/Figures/' |
75 | force_mkdir,dir_png | 75 | force_mkdir,dir_png |
76 | ENDIF | 76 | ENDIF |
77 | 77 |
src/idl/dustem_run_readme.pro
@@ -51,11 +51,6 @@ IF keyword_set(help) THEN BEGIN | @@ -51,11 +51,6 @@ IF keyword_set(help) THEN BEGIN | ||
51 | goto,the_end | 51 | goto,the_end |
52 | ENDIF | 52 | ENDIF |
53 | 53 | ||
54 | -IF keyword_set(png) THEN BEGIN | ||
55 | - dir_png=!dustem_data+'/Figures/' | ||
56 | - force_mkdir,dir_png | ||
57 | -ENDIF | ||
58 | - | ||
59 | loadct,13 | 54 | loadct,13 |
60 | 55 | ||
61 | IF keyword_set(model) THEN BEGIN | 56 | IF keyword_set(model) THEN BEGIN |
@@ -69,6 +64,11 @@ dustem_init,model=use_model | @@ -69,6 +64,11 @@ dustem_init,model=use_model | ||
69 | !dustem_verbose=1 | 64 | !dustem_verbose=1 |
70 | !dustem_show_plot=1 | 65 | !dustem_show_plot=1 |
71 | 66 | ||
67 | +IF keyword_set(png) THEN BEGIN | ||
68 | + dir_png=!dustem_dat+'/Figures/' | ||
69 | + force_mkdir,dir_png | ||
70 | +ENDIF | ||
71 | + | ||
72 | IF not keyword_set(dir) THEN BEGIN | 72 | IF not keyword_set(dir) THEN BEGIN |
73 | ; CASE getenv('DUSTEM_WHICH') OF | 73 | ; CASE getenv('DUSTEM_WHICH') OF |
74 | CASE !dustem_which OF | 74 | CASE !dustem_which OF |