Plotting a smooth curve in matplotlib graphs

前端 未结 1 1946
-上瘾入骨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)
提交回复
热议问题