InterpolationOrder
✖
InterpolationOrder
is an option for Interpolation, as well as ListLinePlot, ListPlot3D, ListContourPlot, and related functions, that specifies what order of interpolation to use.
Details

- InterpolationOrder->n specifies that polynomials of degree n should be fitted between data points.
- For multidimensional data, the polynomials are taken to be of degree n in each variable.
- InterpolationOrder->None specifies that data points in plots should be joined without interpolation.
- InterpolationOrder->0 yields a collection of flat regions, with steps at each data point.
- InterpolationOrder->1 joins data points with straight lines in 2D, and with piecewise polygonal surface elements in 3D.
- Higher interpolation orders generally lead to increasingly smooth curves or surfaces.
- In functions such as NDSolve, InterpolationOrder->All specifies that the interpolation order should be chosen to be the same as the order of the underlying solution method.
- InterpolationOrder can also be used in functions like Manipulate, to specify the smoothness of animations between control points such as bookmarks.
Examples
open allclose allBasic Examples (3)Summary of the most common use cases
Use different interpolation orders for curves:

https://wolfram.com/xid/0puyxkh7ci-glqey3

https://wolfram.com/xid/0puyxkh7ci-iffwcm

Use different interpolation orders for surfaces:

https://wolfram.com/xid/0puyxkh7ci-2a9302

https://wolfram.com/xid/0puyxkh7ci-n96cc1

Use different interpolation orders when constructing an InterpolatingFunction:

https://wolfram.com/xid/0puyxkh7ci-c7hbzp

https://wolfram.com/xid/0puyxkh7ci-ey1m5o

Scope (4)Survey of the scope of standard use cases
Use piecewise quintic interpolation to approximate the sine function:

https://wolfram.com/xid/0puyxkh7ci-h3vy0n


https://wolfram.com/xid/0puyxkh7ci-b9ti1o

Show the smoothing effect of higher interpolation order in plotting:

https://wolfram.com/xid/0puyxkh7ci-e54c3o

https://wolfram.com/xid/0puyxkh7ci-crwdko

Show the smoothing effect of higher interpolation order for GCD data:

https://wolfram.com/xid/0puyxkh7ci-jxrwi5

https://wolfram.com/xid/0puyxkh7ci-bij57t

Get a solution that uses interpolation of the same order as the method from NDSolve:

https://wolfram.com/xid/0puyxkh7ci-6149w

This is more time consuming than the default interpolation order used:

https://wolfram.com/xid/0puyxkh7ci-tmf5n

It is much better in between steps:

https://wolfram.com/xid/0puyxkh7ci-k48sku

Possible Issues (1)Common pitfalls and unexpected behavior
Very high-order interpolation can lead to large errors:

https://wolfram.com/xid/0puyxkh7ci-c0b2fg

https://wolfram.com/xid/0puyxkh7ci-n82dao

https://wolfram.com/xid/0puyxkh7ci-gqo2u3


https://wolfram.com/xid/0puyxkh7ci-bn5jic

Piecewise interpolation with lower order makes a much better approximation:

https://wolfram.com/xid/0puyxkh7ci-cbqvpu

Show the approximation error for different interpolation orders:

https://wolfram.com/xid/0puyxkh7ci-du2lpy

Wolfram Research (1996), InterpolationOrder, Wolfram Language function, https://reference.wolfram.com/language/ref/InterpolationOrder.html (updated 2008).
Text
Wolfram Research (1996), InterpolationOrder, Wolfram Language function, https://reference.wolfram.com/language/ref/InterpolationOrder.html (updated 2008).
Wolfram Research (1996), InterpolationOrder, Wolfram Language function, https://reference.wolfram.com/language/ref/InterpolationOrder.html (updated 2008).
CMS
Wolfram Language. 1996. "InterpolationOrder." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/InterpolationOrder.html.
Wolfram Language. 1996. "InterpolationOrder." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/InterpolationOrder.html.
APA
Wolfram Language. (1996). InterpolationOrder. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/InterpolationOrder.html
Wolfram Language. (1996). InterpolationOrder. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/InterpolationOrder.html
BibTeX
@misc{reference.wolfram_2025_interpolationorder, author="Wolfram Research", title="{InterpolationOrder}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/InterpolationOrder.html}", note=[Accessed: 02-April-2025
]}
BibLaTeX
@online{reference.wolfram_2025_interpolationorder, organization={Wolfram Research}, title={InterpolationOrder}, year={2008}, url={https://reference.wolfram.com/language/ref/InterpolationOrder.html}, note=[Accessed: 02-April-2025
]}