36.10. AREA, LINE and STACK

简介:

36.10.1. LINE

rrdtool graph graph.png --title="Test Graph" --height=400 --width=800 --vertical-label="Bits per second" \
	DEF:pkt=datafile.rrd:packets:AVERAGE \
	LINE1:pkt#ff0000:Packets
			

36.10.2. AREA

rrdtool graph graph.png --title="Test Graph" --height=400 --width=800 --vertical-label="Bits per second" \
	DEF:pkt=datafile.rrd:packets:AVERAGE \
	AREA:pkt#ff0000:Packets
			

36.10.3. STACK

rrdtool graph graph.png --title="Test Graph" --height=400 --width=800 --vertical-label="Bits per second" \
	DEF:pkt=datafile.rrd:packets:AVERAGE \
	LINE1:pkt#ff0000:Packets \
	STACK:pkt#0000ff:Packets

AREA:x1#FF0000:x1
STACK:x2#0000FF:x2

LINE2:x1#FF0000:x1
STACK:x2#0000FF:x2+x1

LINE2:x1#FF0000:x1
AREA:x2#0000FF:x2:STACK
			

36.10.4. GPRINT

			



原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
相关文章
Safe Area解析
Safe Area解析(一) —— Safe Area由来及简单使用(一)Safe Area解析(二) —— 你为什么并不safe?(一)
864 0
|
前端开发 测试技术
Stack by pointer
前言:因为栈的很多操作是基于表的,所以这篇文章里的例程就不再大面积地写注释了,有不理解的地方可以翻看之前的链表笔记,或者直接写在评论区。   咳咳,说到这个栈,很多人乍听之下感觉很陌生、卧槽这是什么玩意。
1043 0
[LeetCode 第5题] -- Max Points on a Line
题目链接: Max Points On a Line 题目意思: 在二维平面上,有n个点,求同一条直线上最多点的个数 题目分析: 1. O(n^2)直接暴力求每个点所在所有直线的最大值,利用map来映射                 2.
987 0
|
C++ 容器
Min Stack
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- Push element x onto stack.
731 0
LeetCode 149. Max Points on a Line
给定一个二维平面,平面上有 n 个点,求最多有多少个点在同一条直线上。
117 0
LeetCode 149. Max Points on a Line
[LeetCode] Max Points on a Line
This problem has a naive idea, which is to traverse all possible pairs of two points and see how many other points fall in the line determined by them.
632 0