Description Usage Arguments Details Value Author(s) Examples

Displays the level plot, contour plot, and gradient field of a given two-dimensional function.

1 |

`expr` |
A mathematical formula of two variables of the form f(x,y)~x&y) |

`...` |
Extra arguments to be passed with |

`xlim` |
The limits of the x axis. |

`ylim` |
The limits of the y axis. |

The gradient checkbox turns the gradient arrows on and off. Show partial w.r.t x and y checkboxes display the x and y components of the gradient vectors. Scale gradient units allows the arrows to be on a reasonable scale; at 1 they are their full width. Arrow spacing controls the number of gradient arrows on the screen, the smaller the spacing the more arrows there will be on the plot. Color palette merely allows the user to pick between 5 color schemes for the levelplot. Approximate number of contour lines is a slider that controls the number of contour lines through the `pretty`

algorithm such that they are evenly spaced at nice intervals. Background smoothness chooses the width of the square grid upon which the calculations are performed. At large values the program runs slower, but has higher resolution.

A function that implements and displays the level plot, contour plot, and gradient field of a given two-dimensional function.

Andrew Rich (andrew.joseph.rich@gmail.com) and Daniel Kaplan (kaplan@macalester.edu)

1 2 3 4 5 6 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.