Ubuntu python matplotlib
专攻数学的文科生
昨夜西风凋碧树,独上高楼,望尽天涯路。
展开
-
Ubuntu Linux,及Python matplot,安装Times New Roman字体,让图标签可以用Times New Roman字体
Ubuntu Linux安装Times New Roman字体英文论文中普遍要求字体为Times New Roman字体,当你在Windows系统操作时,自带MSfont库,里面包含各种字体,但当你在Linux下工作时,需要自己安装更丰富的字体(没有MSfont版权的原因?总之要用开源自由的Linux很多工具是要自己安装的)—如有描述错误请在评论中指正。Ubuntu Linux(Ubun...原创 2018-06-04 15:59:55 · 22112 阅读 · 4 评论 -
Python matplotlib作图时,设置横纵坐标轴数值以百分比(%)显示
一、当我们用Python matplot时作图时,一些数据需要以百分比显示,以更方便地对比模型的性能提升百分比。二、借助matplotlib.ticker.FuncFormatter(),将坐标轴格式化。例子:# encoding=utf-8import matplotlib.pyplot as plt from matplotlib.ticker import FuncFormatterp...原创 2018-06-04 19:55:44 · 62905 阅读 · 3 评论 -
Linux Ubuntu 16.04 Python matplotlib安装中文字体,黑体,楷体,Times New Roman等,解决中文乱码
Linux Ubuntu 16.04 Python matplotlib安装中文字体,Times New Roman等文章目录Linux Ubuntu 16.04 Python matplotlib安装中文字体,Times New Roman等一、用apt-get工具安装Times New Roman字体,即安装ttf-mscorefonts-installer,但此字体包,不包括楷体,黑体等。...原创 2019-01-04 21:48:05 · 9758 阅读 · 8 评论