Commit 3dd007dfcc5c446ed6865b70e9c96df9b909ca9f

Authored by Jean-Philippe Bernard
1 parent b36e1e5e
Exists in master

added png plot options

src/idl/dustem_fit_sed_readme.pro
... ... @@ -71,7 +71,7 @@ ENDIF ELSE BEGIN
71 71 ENDELSE
72 72  
73 73 IF keyword_set(png) THEN BEGIN
74   - dir_png=!dustem_data+'/Figures/'
  74 + dir_png=!dustem_dat+'/Figures/'
75 75 force_mkdir,dir_png
76 76 ENDIF
77 77  
... ...
src/idl/dustem_run_readme.pro
... ... @@ -51,11 +51,6 @@ IF keyword_set(help) THEN BEGIN
51 51 goto,the_end
52 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 54 loadct,13
60 55  
61 56 IF keyword_set(model) THEN BEGIN
... ... @@ -69,6 +64,11 @@ dustem_init,model=use_model
69 64 !dustem_verbose=1
70 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 72 IF not keyword_set(dir) THEN BEGIN
73 73 ; CASE getenv('DUSTEM_WHICH') OF
74 74 CASE !dustem_which OF
... ...