博客
关于我
2.9.3相同的数据在不同的情况下显示
阅读量:586 次
发布时间:2019-03-11

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

2.9.3 相同的数据在不同的情况下显示

代码如下所示:

from pylab import *# 生成统一数据点x = 1e6 * rand(1000)y = rand(1000)figure()# 创建第一个图subplot(211)# 制作散点图scatter(x, y)xscale('linear')# 限制x轴xlim([1e-6, 1e6])# 创建第二个散点图subplot(212)scatter(x, y)# 但是让x轴对数xscale('log')xlim([1e-6, 1e6])show()

运行测试代码,观察结果。

转载地址:http://ugmtz.baihongyu.com/

你可能感兴趣的文章
Oracle:ORA-00911: 无效字符
查看>>
Text-to-Image with Diffusion models的巅峰之作:深入解读 DALL·E 2
查看>>
Tensorflow.python.framework.errors_impl.ResourceExhaustedError:无法分配内存[操作:AddV2]
查看>>
TCP基本入门-简单认识一下什么是TCP
查看>>
tableviewcell 中使用autolayout自适应高度
查看>>
Symbolic Aggregate approXimation(SAX,符号聚合近似)介绍-ChatGPT4o作答
查看>>
Orcale表被锁
查看>>
svn访问报错500
查看>>
sum(a.YYSR) over (partition by a.hy_dm) 不需要像group by那样需要分组函数。方便。
查看>>
ORCHARD 是什么?
查看>>
Struts2中使用Session的两种方法
查看>>
Stream API:filter、map和flatMap 的用法
查看>>
STM32工作笔记0032---编写跑马灯实验---寄存器版本
查看>>
order by rand()
查看>>
SSM(Spring+SpringMvc+Mybatis)整合开发笔记
查看>>
Orderer节点启动报错解决方案:Not bootstrapping because of 3 existing channels
查看>>
org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement profile
查看>>
sql查询中 查询字段数据类型 int 与 String 出现问题
查看>>
org.apache.commons.beanutils.BasicDynaBean cannot be cast to ...
查看>>
org.apache.dubbo.common.serialize.SerializationException: com.alibaba.fastjson2.JSONException: not s
查看>>