“直方图”的版本间差异

来自Shiyin's note
跳到导航 跳到搜索
无编辑摘要
无编辑摘要
第9行: 第9行:


== HISTOGRAM ==
== HISTOGRAM ==
Result = HISTOGRAM( Array [, BINSIZE=value] [, INPUT=variable] [, LOCATIONS=variable] [, MAX=value] [, MIN=value] [, /NAN] [, NBINS=value] [, OMAX=variable] [, OMIN=variable] [, /L64 | REVERSE_INDICES=variable] )
Result = HISTOGRAM( Array [, BINSIZE=value] [, INPUT=variable] [, LOCATIONS=variable] [, MAX=value] [, MIN=value] [, /NAN]
[, NBINS=value] [, OMAX=variable] [, OMIN=variable] [, /L64 | REVERSE_INDICES=variable] )


'''关键词 locations是bin的位置: MIN + v*BINSIZE, with v = 0,1,...,NBINS-1. BINSIZE = (MAX – MIN) / (NBINS – 1)
'''关键词 locations是bin的位置: MIN + v*BINSIZE, with v = 0,1,...,NBINS-1. BINSIZE = (MAX – MIN) / (NBINS – 1)

2012年4月25日 (三) 14:35的版本

IDL自带的HISTOGRAM可以运算直方图,然后用plot命令画出来

  • PSYM=10可画成直方图形式,但是缺少直方图的边框

astro_lib中的plothist;Coyote库中的cgplothist;

sdssidl中的plothist由于和astro_lib中的plothist重名,被改为sdssidl_plothist


HISTOGRAM

Result = HISTOGRAM( Array [, BINSIZE=value] [, INPUT=variable] [, LOCATIONS=variable] [, MAX=value] [, MIN=value] [, /NAN] 
[, NBINS=value] [, OMAX=variable] [, OMIN=variable] [, /L64 |  REVERSE_INDICES=variable] ) 

关键词 locations是bin的位置: MIN + v*BINSIZE, with v = 0,1,...,NBINS-1. BINSIZE = (MAX – MIN) / (NBINS – 1)

plothist

cghistoplot