Function angstrom
;+
;NAME:
; angstrom
;PURPOSE:
; Return the wavelength symbol as a upscripted postscript
; character string
;CALLING SEQUENCE:
; result=angstrom()
;INPUT:
; None
;OPTIONAL INPUT KEYWORDS:
; None
;OUTPUTS:
; result - a scalar string representing wavelength symbol.
;EXAMPLE:
; To make the X-axis of a plot read wavelength(A)
; IDL> plot,indgen(10),xtitle = 'wavelength'+angstrom()
;
;METHODS:
; see http://www.dfanning.com/misc_tips/angstrom.html
;REVISION HISTORY:
; Original by DL.Wang,Nov-09-2008
;-
angstrom = '!6!sA!r!u!9 %!6!n'
return, angstrom
End
https://blog.sciencenet.cn/blog-456360-657714.html
上一篇:
赤经赤纬的字符串格式转化为双精度格式IDL程序下一篇:
在字符上面画点的IDL程序