Han Zhengzu
Han Zhengzu

Reputation: 3852

Cross-section plotting with terrain as background

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:

1

2

Upvotes: 1

Views: 3567

Answers (1)

sba
sba

Reputation: 2107

I've used

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

Upvotes: 2

Related Questions