1. 目前有四种主题theme_gray(), theme_bw() , theme_minimal(),theme_classic()2. X轴设置刻度scale_x_continuous(limits=c(1950,2000),breaks=seq(1950,2000,5))3. Bar & L...
分类:
其他好文 时间:
2015-03-19 14:46:23
阅读次数:
172
createwindow可以直接创建一个staitc,但这个static是不透明的,如果我们把窗口背景设置为GRAY_BRUSH,则static会很明显的有一个白色背景,一般来说这样肯定很难看。可以先给 static设置一个WS_EX_TRANSPARENT的扩展属性,然后在消息回调函数中拦截 WM...
转载自风宇冲Unity3D教程学院HeightmapHeightmap, 高度图。通常Heightmap高度图储存成Gray Scale Image也就是常说灰度图。越白该点就越高,纯黑表示最低点,纯点表示最高点。8位灰度图有256阶。16位灰度图有65536阶。如果依然精度不够用的话(例如绘制大型...
分类:
编程语言 时间:
2015-03-11 12:17:48
阅读次数:
203
题意: 用0到2^(n+m-1)这2^(n+m-1)个数填在一个2^n*2^m的矩阵里,使得所有相邻的数的二进制表示只有一位不同.Solution: Gray码。对于第i行第j列的数,由i的Gray码左移m位并上j的Gray码得到。#include using namespace std;int.....
分类:
其他好文 时间:
2015-03-09 20:36:39
阅读次数:
140
https://leetcode.com/problems/gray-code/The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negati...
分类:
其他好文 时间:
2015-03-09 15:53:12
阅读次数:
194
The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total number...
分类:
其他好文 时间:
2015-03-06 15:34:13
阅读次数:
153
以下转换代码摘自维基百科 Wikipedia:/* The purpose of this function is to convert an unsigned binary number to reflected binary Gray code. Th...
分类:
其他好文 时间:
2015-03-05 14:38:54
阅读次数:
171
The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integer n representing the total numb...
分类:
其他好文 时间:
2015-03-05 14:34:25
阅读次数:
127
showdiv
.black_overlay{
display: none;
position: absolute;
top: 0%;
left: 0%;
width: 100%;
height: 100%;
background-color: gray;
z-index:1001;
-moz-op...
分类:
其他好文 时间:
2015-02-26 11:43:07
阅读次数:
165