> par(mfrow=c(2, 2)) > > hist(mtcars$mpg) > > hist(mtcars$mpg, breaks=12, col="red", xlab="miles per gallon", + main="colored histogram with 12 bins")... ...
分类:
编程语言 时间:
2017-09-24 23:35:18
阅读次数:
389
1、命令基本概述 Jmap是一个可以输出所有内存中对象的工具,甚至可以将VM 中的heap,以二进制输出成文本。打印出某个java进程(使用pid)内存内的,所有‘对象’的情况(如:产生那些对象,及其数量)。 使用方法 jmap -histo pid。如果使用SHELL ,可采用jmap -hist ...
分类:
其他好文 时间:
2017-09-20 11:55:40
阅读次数:
145
Oracle数据库中的SQL基线信息,当数据库出现性能问题时,在业务无法提供相应业务信息时,通过对比SQL基线信息来查找SQL的变化。 查找数据库一天内运行次数大于5000次的sqlid select sql_id,sum(EXECUTIONS_DELTA)from dba_hist_sqlstat ...
分类:
数据库 时间:
2017-09-13 19:26:42
阅读次数:
178
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist ...
分类:
其他好文 时间:
2017-09-05 13:25:33
阅读次数:
239
使用 Matplotlib Matplotlib 中有直方图绘制函数:matplotlib.pyplot.hist()它可以直接统计并绘制直方图。你应该使用函数 calcHist() 或 np.histogram()统计直方图。 1 使用pyplot.hist() 显示灰度图像直方图,代码如下: 2 ...
分类:
其他好文 时间:
2017-08-20 11:26:44
阅读次数:
348
在/etc/profile里添加如下:
#History
exportHISTTIMEFORMAT="[%F%T]"
HISTDIR=/home/common/.hist
if[!-d$HISTDIR];then
mkdir-p$HISTDIR
chmod777$HISTDIR
fi
exportHISTSIZE=100000
exportHISTFILE="$HISTDIR/${LOGNAME}.hist"
chmod600$HISTDIR/${LOGNAME}.hist2>/dev/..
分类:
系统相关 时间:
2017-08-17 20:25:16
阅读次数:
221
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist ...
分类:
其他好文 时间:
2017-07-15 16:53:36
阅读次数:
130
histogram >>> a = numpy.arange(5) >>> hist, bin_edges = numpy.histogram(a,density=False) >>> hist, bin_edges (array([1, 0, 1, 0, 0, 1, 0, 1, 0, 1], dt... ...
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist ...
分类:
其他好文 时间:
2017-06-23 23:48:06
阅读次数:
223