Draw level curves for functions of two variables z = F(x, y) in C#

The following examples show how you can plot a function F(x, y) = 0.

This example uses the same techniques to plot level curves. For a function z = F(x, y), the program simply plots the function F(x, y) - z = 0 for different z values. It makes curves red when z < 0, blue when z > 0, and black when z = 0.

Note that this technique is non-analytic so you don't need to understand the shape of the function, find partial derivatives for it, etc.

See the previous examples and the code for details.

   

 

What did you think of this article?




Trackbacks
  • No trackbacks exist for this post.
Comments
  • No comments exist for this post.
Leave a comment

Submitted comments are subject to moderation before being displayed.

 Name

 Email (will not be published)

 Website

Your comment is 0 characters limited to 3000 characters.