Commit 80b31cdc09b4bb391ee14a2d72c6cb382f9896ee

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

modified for new plot keyword startegy

Showing 1 changed file with 5 additions and 5 deletions   Show diff stats
src/idl/dustem_fit_intensity_example.pro
... ... @@ -345,9 +345,9 @@ ENDIF
345 345 ;stop
346 346  
347 347 IF !dustem_noobj THEN BEGIN
348   - dustemwrap_plot_noobj,*(*!dustem_fit).CURRENT_PARAM_VALUES,dummy,xr=xr,/xstyle,yr=yr,/ysty,/ylog,/xlog,title=tit+' (Final fit)'
  348 + dustemwrap_plot_noobj,*(*!dustem_fit).CURRENT_PARAM_VALUES,st=dummy,xr=xr,/xstyle,yr=yr,/ysty,/ylog,/xlog,title=tit+' (Final fit)'
349 349 ENDIF ELSE BEGIN
350   - dustemwrap_plot,*(*!dustem_fit).CURRENT_PARAM_VALUES,dummy,xr=xr,/xstyle,yr=yr,/ysty,/ylog,/xlog,title=tit+' (Final fit)'
  350 + dustemwrap_plot,*(*!dustem_fit).CURRENT_PARAM_VALUES,st=dummy,xr=xr,/xstyle,yr=yr,/ysty,/ylog,/xlog,title=tit+' (Final fit)'
351 351 ENDELSE
352 352  
353 353 IF keyword_set(postscript) THEN BEGIN
... ... @@ -374,13 +374,13 @@ IF keyword_set(fits_save_and_restore) THEN BEGIN
374 374 ;==== plot result taken from the saved fits table
375 375 res=*(*!dustem_fit).CURRENT_PARAM_VALUES
376 376 IF !dustem_noobj THEN BEGIN
377   - ;dustemwrap_plot_noobj,res,dustem_spectra_st,xr=xr,/xstyle,yr=yr,/ysty,/ylog,/xlog,title=tit+' (From Saved FITS file)'
  377 + ;dustemwrap_plot_noobj,res,st=dustem_spectra_st,xr=xr,/xstyle,yr=yr,/ysty,/ylog,/xlog,title=tit+' (From Saved FITS file)'
378 378 dustemwrap_plot_noobj,res,xr=xr,/xstyle,yr=yr,/ysty,/ylog,/xlog,title=tit+' (From Saved FITS file)'
379 379 ENDIF ELSE BEGIN
380   - ;dustemwrap_plot,res,dustem_spectra_st,xr=xr,/xstyle,yr=yr,/ysty,/ylog,/xlog,title=tit+' (From Saved FITS file)'
  380 + ;dustemwrap_plot,res,st=dustem_spectra_st,xr=xr,/xstyle,yr=yr,/ysty,/ylog,/xlog,title=tit+' (From Saved FITS file)'
381 381 dustemwrap_plot,res,xr=xr,/xstyle,yr=yr,/ysty,/ylog,/xlog,title=tit+' (From Saved FITS file)'
382 382 ENDELSE
383   - stop
  383 + ;stop
384 384 IF keyword_set(wait) THEN BEGIN
385 385 message,'Saved the results as FITS in the file: '+fits_save_and_restore+', and made a plot using the data in this file',/info
386 386 wait,wait
... ...