Tag Archives: plot equation

Plot functions in C#, Part 3

This is the third example that shows how to plot functions that draw hearts. This time the function is: The following examples also draw heart-shaped functions. See the first for an explanation of how the programs work. Plot a heart-shaped … Continue reading

Posted in algorithms, drawing, graphics, mathematics | Tagged , , , , , , , , , , , , , , | Leave a comment

Plot functions in C#

This example shows how to plot functions. This example plots a function that represents a heart shape. The earlier example Plot a heart-shaped function in C# shows how to draw a relatively complex heart-shaped function. Recently I saw a much … Continue reading

Posted in algorithms, drawing, graphics, mathematics | Tagged , , , , , , , , , , , , , , | 1 Comment

Pass a method to another method in C#

This example shows how you can use delegates to pass a method to another method. The example Plot an equation containing two variables in C# shows how to draw a graph of a function even if you don’t really understand … Continue reading

Posted in algorithms, drawing, graphics, mathematics, variables | Tagged , , , , , , , , , , , , , , | 3 Comments

Plot an equation containing two variables in C#

This example shows one way you can plot an equation containing two variables with the format F(x, y) = 0. Some equations, such as y = 3 × x + 5, are easy to graph. Others are much harder. For … Continue reading

Posted in algorithms, drawing, graphics, mathematics | Tagged , , , , , , , , , , , | 6 Comments