How can I plot 2d FEM results using matplotlib?
问题 I'm developing a 2D plane finite element tool. One of the features is the ability to visualize the stresses on a particular object. This tool creates a quadrilateral mesh using the following data: nodes : numpy array [[x1 y1], [x2 y2], etc] -> x and y coordinates of every node in the mesh elements : numpy array [[1 2 3 4], [2 3 5 6]] -> every line of the array corresponds to the 4 points of one particular element of the mesh. I was able to implement a method that plots the mesh: import