博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
"仿matlab科学软件"项目准备
阅读量:4477 次
发布时间:2019-06-08

本文共 959 字,大约阅读时间需要 3 分钟。

最近会发一些小的零散的文章,为自己的寒假的项目做准备

#coding=utf-8import matplotlib.pyplot as pltfig=plt.figure("hello")  #设置标题栏fig.suptitle("bold figure suptitle",fontsize=12,fontweight="bold")ax = fig.add_subplot(111)fig.subplots_adjust(top=0.85)ax.set_title('axes title')ax.set_xlabel("xLabel")ax.set_ylabel("yLabel")ax.text(3,8,"boxed italics text in data coords",style="italic",bbox={'facecolor':'red', 'alpha':0.5, 'pad':10})ax.text(2, 6, r'an equation: $E=mc^2$', fontsize=15)ax.text(3, 2, unicode('unicode: Institut f\374r Festk\366rperphysik', 'latin-1'))ax.text(0.95, 0.01, 'colored text in axes coords',        verticalalignment='bottom', horizontalalignment='right',        transform=ax.transAxes,        color='green', fontsize=15)ax.plot([2], [1], 'o')ax.annotate('annotate', xy=(2, 1), xytext=(3, 4),            arrowprops=dict(facecolor='black', shrink=0.05))ax.axis([0, 15, 0, 10])  #坐标轴plt.show()

 

转载于:https://www.cnblogs.com/rollenholt/archive/2011/12/08/2281023.html

你可能感兴趣的文章
ServletConfig
查看>>
顺序栈用C语言实现
查看>>
Python批量获取京东商品列表信息
查看>>
2017.7.10 C组总结
查看>>
SourceTree下载 及使用
查看>>
MyEclipse下安装FatJar打包工具
查看>>
什么是域名-视频讲解?
查看>>
大道至简第六章-从编程到工程
查看>>
单元测试——隔离神器:mockito
查看>>
【leetcode】Binary Tree Zigzag Level Order Traversal
查看>>
Python网络数据采集pdf
查看>>
《CSS3.0(飘零雾雨版)》
查看>>
Microsoft Dynamics CRM 里的account 左侧导航栏连接报表
查看>>
一次域渗透尝试
查看>>
个人工作总结03(冲刺二)
查看>>
BLE 5协议栈-通用属性规范层(GATT)
查看>>
第3周学习进度
查看>>
【★】EIGRP终极解析!
查看>>
5.2 dubbo-compiler源码解析
查看>>
第十二章 ThreadPoolExecutor使用 + 工作机理 + 生命周期
查看>>