This will be generalized to take any Lagrange basis, to allow some form of visualization for higher-order functions. [[Imported from SVN: r9662]]