I am trying to draw contour lines based on calculations obtained by solving a nonlinear problem, when building contours with contour I can use contourf to get unfilled current lines, how can I do the same with plot used in fenics?
like
plt.contour(x,y,values,colors=‘k’,levels=level)
plt.colorbar(plt.contourf(x,y,values,levels=level))
It is unclear if you are using legacy FEniCS or FEniCSx.
Note that all plotting in legacy fenics is based on matplotlib, and can be found at: Bitbucket