matplotlib上的多个网格 [英] Multiple grids on matplotlib

查看:46
本文介绍了matplotlib上的多个网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

直到现在,我仍在使用Python和matplotlib进行绘图,而我发现它们又庞大又灵活.

I'm making plots in Python and matplotlib, which I found huge and flexible, till now.

我唯一找不到怎么做的就是让我的情节有多个网格.我查看了文档,但这仅用于线条样式...

The only thing I couldn't find how to do, is to make my plot have multiple grids. I've looked into the documentation, but that's just for line style...

我正在考虑类似两个地块的图,每个地块具有不同的网格,这些网格将重叠它们.

I'm thinking on something like two plots each one with a different grid, which will overlap them.

所以,例如我想制作这张图:

So, for example I want to make this graph:

替代文字 http://img137.imageshack.us/img137/2017/waittimeprobability.png

具有与此类似的网格标记:

Have a similar grid marks as this one:

替代文字 http://img137.imageshack.us/img137/6122/saucelabssauceloadday.png

我的意思是,重要点之间颜色更浅的更频繁的网格.

And by that, I mean, more frequent grids with lighter color between important points.

推荐答案

诸如此类(改编自

这篇关于matplotlib上的多个网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆