Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个数据数组,我想在 IDL 中用它制作一个累积直方图。是否有可以在 HISTOGRAM、PLOTHIST、PHIST 或 HISTO 命令上使用的输入来为我执行此操作?如果有,我该如何使用它?
谢谢!
尝试CUMULATIVE关键字TOTAL:
CUMULATIVE
TOTAL
IDL> x = randomu(seed, 1000) * 100. IDL> h = histogram(x, binsize=10) IDL> ch = total(h, /cumulative, /preserve_type) IDL> plot, ch, psym=10