2019年10月19日

横向柱状图

摘要: This example showcases a simple horizontal bar chart np.random.seed() 使用 之后调用 或`np.random.rand()`可以产生固定的随机值 [[ 1.04930431 0.86609917 0.5511346 1.72807 阅读全文

posted @ 2019-10-19 00:23 无奈巅峰 阅读(1138) 评论(0) 推荐(0) 编辑

2019年10月18日

柱状图

摘要: This is an example of creating a stacked bar plot with error bars using . Note the parameters yerr used for error bars, and bottom to stack the women' 阅读全文

posted @ 2019-10-18 23:03 无奈巅峰 阅读(177) 评论(0) 推荐(0) 编辑

2019年3月15日

MPC5604P之PWM模块

摘要: 26. PWM1. MPC5604P 有四个PWM子模块, 每个有三个输出PWMA、PWMB和PWMX2. 每个模块有以下寄存器: CNT(Counter Register),INIT(Initial Count Register), CTRL2(Control 2 Register), CTRL1 阅读全文

posted @ 2019-03-15 10:05 无奈巅峰 阅读(961) 评论(0) 推荐(0) 编辑

2018年4月26日

python下学习opengl之纹理贴图1

摘要: 原教程地址:https://learnopengl.com/Getting-started/Textures 中文翻译地址:https://learnopengl-cn.github.io/01%20Getting%20started/06%20Textures/ 文件列表: glfw3.dll: 阅读全文

posted @ 2018-04-26 11:53 无奈巅峰 阅读(2258) 评论(0) 推荐(0) 编辑

2018年4月22日

python下学习opengl之着色器

摘要: https://learnopengl.com/Getting-started/Shaders在vertex着色器中增加了三角形顶点的颜色属性, 该章节的中文翻译版见中文教程 环境配置及相关库的下载参考:python下学习opengl之简单窗口 对应的python代码如下: 代码执行效果: 阅读全文

posted @ 2018-04-22 06:46 无奈巅峰 阅读(2032) 评论(0) 推荐(0) 编辑

2018年4月16日

python下学习opengl之矩形框

摘要: https://learnopengl.com/Getting-started/Hello-Triangle 实现了最简单的着色器,其翻译版请见对应的中文教程 以下是对上述教程中c++代码的python实现,开发环境配置请参考简单窗口 代码执行效果如下: 键盘的左右键可以控制GL_FILL和GL_L 阅读全文

posted @ 2018-04-16 11:59 无奈巅峰 阅读(520) 评论(0) 推荐(0) 编辑

python下学习opengl之简单窗口

摘要: 最近在看一个opengl教程:https://learnopengl.com/Introduction,写的深入浅出,非常不错,而且有中文的翻译版:https://learnopengl-cn.github.io/ 出于加深学习效果,自己试着用Python重新实现原教程中的C++代码 1. 操作系统 阅读全文

posted @ 2018-04-16 11:31 无奈巅峰 阅读(2110) 评论(0) 推荐(0) 编辑

导航