Commit c0df06602040d431486d6f4c9128f5c0456fa28f
1 parent
a9e15062
Exists in
master
replaced all calls to cgaxis
Showing
1 changed file
with
7 additions
and
7 deletions
Show diff stats
src/idl/dustemcgwin_dataset.pro
... | ... | @@ -106,7 +106,7 @@ if keyword_set(dataset) then begin |
106 | 106 | if not keyword_set(norm) then begin |
107 | 107 | ;/NODATA |
108 | 108 | cgplot,wavs,wavs,/nodata,/ylog,/xlog,/ys,xs=9,pos=position,noerase=1,charsize=1.15,xtickformat='(A1)',color='Powder Blue',xr=xr,xtit='',yr=yr,psym=8,syms=0.8 |
109 | - cgaxis, xaxis=1 ,xlog=1 ,xrange=((!const.c*1E6/xr)*1E-9),charsize=1.15,title=textoidl('\nu (GHz)'),xticklen=0.05,xminor=10 | |
109 | + axis, xaxis=1 ,xlog=1 ,xrange=((!const.c*1E6/xr)*1E-9),charsize=1.15,xtitle=textoidl('\nu (GHz)'),xticklen=0.05,xminor=10,color='black' | |
110 | 110 | xyouts,pospltxt[0],pospltxt[1],textoidl('I_{\nu} (MJy/sr)'),color=0,/normal,charsize=1.3;,charthick=2.0 |
111 | 111 | |
112 | 112 | ;endelse |
... | ... | @@ -313,7 +313,7 @@ if keyword_set(dataset) then begin |
313 | 313 | if not keyword_set(norm) then begin |
314 | 314 | ;/NODATA |
315 | 315 | cgplot,wavs,wavs,/nodata,/ylog,/xlog,/ys,xs=9,pos=position,noerase=1,charsize=1.15,xtickformat='(A1)',color='Powder Blue',xr=xr,xtit='',yr=yr,psym=8,syms=0.8 |
316 | - cgaxis, xaxis=1 ,xlog=1 ,xrange=((!const.c*1E6*xr)*1E-9),charsize=1.15,title=textoidl('\nu (GHz)'),xticklen=0.05,xminor=10 | |
316 | + axis, xaxis=1 ,xlog=1 ,xrange=((!const.c*1E6*xr)*1E-9),charsize=1.15,xtitle=textoidl('\nu (GHz)'),xticklen=0.05,xminor=10,color='black' | |
317 | 317 | xyouts,pospltxt[0],pospltxt[1],textoidl('\tau_{EXT}'),color=0,/normal,charsize=1.3;,charthick=2.0 |
318 | 318 | |
319 | 319 | ;endelse |
... | ... | @@ -444,7 +444,7 @@ if keyword_set(dataset) then begin |
444 | 444 | |
445 | 445 | |
446 | 446 | ;Plotting of frequency axis |
447 | - cgaxis, xaxis=1, xlog=1, xs=1, xminor=10, xticklen=0.05, xrange=((!const.c*1E6*xr)*1E-9),charsize=1.15,title=textoidl('\nu (GHz)') | |
447 | + axis, xaxis=1, xlog=1, xs=1, xminor=10, xticklen=0.05, xrange=((!const.c*1E6*xr)*1E-9),charsize=1.15,xtitle=textoidl('\nu (GHz)'),color='black' | |
448 | 448 | |
449 | 449 | xyouts,pospltxt[0],pospltxt[1],textoidl('\tau_{EXT}'),color=0,/normal,charsize=1.3;,charthick=2.0 |
450 | 450 | |
... | ... | @@ -521,7 +521,7 @@ if keyword_set(dataset) then begin |
521 | 521 | endif else begin ;normal plot |
522 | 522 | ;/NODATA |
523 | 523 | cgplot,wavs,wavs,/nodata,/ylog,/xlog,/ys,xs=9,pos=position,noerase=1,charsize=1.15,xtickformat='(A1)',color='Powder Blue',xr=xr,xtit='',yr=yr,psym=8,syms=0.8 |
524 | - cgaxis, xaxis=1 ,xlog=1 ,xrange=((!const.c*1E6*xr)*1E-9),charsize=1.15,title=textoidl('\nu (GHz)'),xticklen=0.05,xminor=10 | |
524 | + axis, xaxis=1 ,xlog=1 ,xrange=((!const.c*1E6*xr)*1E-9),charsize=1.15,xtitle=textoidl('\nu (GHz)'),xticklen=0.05,xminor=10,color='black' | |
525 | 525 | xyouts,pospltxt[0],pospltxt[1],textoidl('\tau_{PEXT}'),color=0,/normal,charsize=1.3;,charthick=2.0 |
526 | 526 | |
527 | 527 | endelse |
... | ... | @@ -643,7 +643,7 @@ if keyword_set(dataset) then begin |
643 | 643 | |
644 | 644 | |
645 | 645 | ;Plotting of frequency axis |
646 | - cgaxis, xaxis=1, xlog=1, xs=1, xminor=10, xticklen=0.05, xrange=((!const.c*1E6*xr)*1E-9),charsize=1.15,title=textoidl('\nu (GHz)') | |
646 | + axis, xaxis=1, xlog=1, xs=1, xminor=10, xticklen=0.05, xrange=((!const.c*1E6*xr)*1E-9),charsize=1.15,xtitle=textoidl('\nu (GHz)'),color='black' | |
647 | 647 | |
648 | 648 | xyouts,pospltxt[0],pospltxt[1],textoidl('\tau_{PEXT}'),color=0,/normal,charsize=1.3;,charthick=2.0 |
649 | 649 | |
... | ... | @@ -721,7 +721,7 @@ if keyword_set(dataset) then begin |
721 | 721 | endif else begin ;normal plot |
722 | 722 | |
723 | 723 | cgplot,wavs,wavs,/nodata,/ylog,/xlog,/ys,xs=9,pos=position,noerase=1,charsize=1.15,xtickformat='(A1)',color='Powder Blue',xr=xr,xtit='',yr=yr,psym=8,syms=0.8 |
724 | - cgaxis, xaxis=1 ,xlog=1 ,xrange=((!const.c*1E6/xr)*1E-9),charsize=1.15,title=textoidl('\nu (GHz)'),xticklen=0.05,xminor=10 | |
724 | + axis, xaxis=1 ,xlog=1 ,xrange=((!const.c*1E6/xr)*1E-9),charsize=1.15,xtitle=textoidl('\nu (GHz)'),xticklen=0.05,xminor=10,color='black' | |
725 | 725 | xyouts,pospltxt[0],pospltxt[1],textoidl('P_{\nu} (MJy/sr)'),color=0,/normal,charsize=1.3;,charthick=2.0 |
726 | 726 | |
727 | 727 | endelse |
... | ... | @@ -836,7 +836,7 @@ if keyword_set(dataset) then begin |
836 | 836 | |
837 | 837 | |
838 | 838 | ;Plotting of frequency axis |
839 | - cgaxis, xaxis=1, xlog=1, xs=1, xminor=10, xticklen=0.05, xrange=((!const.c*1E6/(xr))*1E-9),charsize=1.15,title=textoidl('\nu (GHz)') | |
839 | + axis, xaxis=1, xlog=1, xs=1, xminor=10, xticklen=0.05, xrange=((!const.c*1E6/(xr))*1E-9),charsize=1.15,xtitle=textoidl('\nu (GHz)'),color='black' | |
840 | 840 | |
841 | 841 | xyouts,pospltxt[0],pospltxt[1],textoidl('P_{\nu} (MJy/sr)'),color=0,/normal,charsize=1.3;,charthick=2.0 |
842 | 842 | |
... | ... |