Plotting a smooth curve in matplotlib graphs

前端 未结 1 1940
-上瘾入骨i
-上瘾入骨i 2020-12-14 22:02

I am reading a netcdf file using python and need to plot a graphs using matplotlib library in python. The netcdf file is containing 3 variables: u v

相关标签:
1条回答
  • 2020-12-14 22:42

    A simple solution is to do interpolation with splines, as explained in a nice Scipy tutorial.

    Here is an example:

    enter image description here

    0 讨论(0)
提交回复
热议问题