• Vlad Niculae
  • Research
  • Blog
  • Teaching
  • Students
  • Newton interpolation and numerical differentiation

    Fri, 15 Apr 2011Category: python
    #differentiation #interpolation #matplotlib #newton #numerical #numpy #python

    I am sharing some Python code code that I wrote as a school assignment. This computes the Newton form of the interpolation polynomial of a given set of points, and allows for the evaluation of both the polynomial and its derivative, at a given point. This is an accurate way …

    Tweaking matplotlib subplots for pretty results

    Mon, 04 Apr 2011Category: python
    #matplotlib #python

    When plotting multiple subplots using matplotlib, the axes rarely look pretty with the default configuration. Since matplotlib figures are abstract objects, designed for consistency in print as well as on screen, tweaking their layout can get tricky.

    An example¶

    The following code is taken from the face recognition example in …

    [ all posts ] [ categories ] [ tags ] [ pages: 1  ]

    Powered by Pelican. Privacy policy.