以地形为背景绘制横截面 [英] Cross-section plotting with terrain as background

查看:34
本文介绍了以地形为背景绘制横截面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在大气研究中,横截面图通常用于表示平均气象垂直剖面.

使用Python,我可以根据netcdf文件(模拟结果)绘制横截面图.
我使用了此

解决方案

我用过

plt.fill_between(axis, terrain, 0, facecolor='black') 

In Atmospheric Research, the cross-section plots are often used to represent the average meteorology vertical profiles.

Using Python, I can plot the cross-section figure based on netcdf file(Simulation result).
I use this post for reference

But how to represent the terrain in specific cutting line. Example like this:

解决方案

I've used

plt.fill_between(axis, terrain, 0, facecolor='black')

这篇关于以地形为背景绘制横截面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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