File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed 
examples/images_contours_and_fields Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 66Comparison of a contour plot of irregularly spaced data interpolated 
77on a regular grid versus a tricontour plot for an unstructured triangular grid. 
88
9- Since :meth: `~.axes.Axes.contour` and :meth: `~.axes.Axes.contourf` expect the 
10- data to live  on a regular grid, plotting a contour plot of irregularly spaced
11- data requires  different methods. The two options are:
9+ Since `~.axes.Axes.contour` and `~.axes.Axes.contourf` expect the data to live  
10+ on a regular grid, plotting a contour plot of irregularly spaced data requires  
11+ different methods. The two options are: 
1212
13- * Interpolate the data to a regular grid first. This can be done with on-borad  
13+ * Interpolate the data to a regular grid first. This can be done with on-board  
1414  means, e.g. via `~.tri.LinearTriInterpolator` or using external functionality 
15-   e.g. via `scipy.interpolate.griddata`. Then plot the 
16-   interpolated data with the usual :meth:`~.axes.Axes.contour`. 
17- * Directly use :meth:`~.axes.Axes.tricontour` or 
18-   :meth:`~.axes.Axes.tricontourf` which will perform a triangulation 
19-   internally. 
15+   e.g. via `scipy.interpolate.griddata`. Then plot the interpolated data with 
16+   the usual `~.axes.Axes.contour`. 
17+ * Directly use `~.axes.Axes.tricontour` or `~.axes.Axes.tricontourf` which will 
18+   perform a triangulation internally. 
2019
2120This example shows both methods in action. 
2221""" 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments