Tag Archives: graph function

Display tooltips on a graph of an equation entered by the user in C#

This example draws a graph of an equation entered by the user and the displays a tooltip on it when you move the mouse over the graph. See the post Graph equations entered by the user in C# for information … Continue reading

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

Graph equations entered by the user in C#

This example draws a graph of an equation entered by the user by combining techniques from the following two posts: Evaluate numeric expressions that are entered by the user in C# Graph an equation in C# This example uses techniques … Continue reading

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

Graph an equation in C#

This example uses the the following MakeGraph method to draw the graph. // Make the graph. private void MakeGraph() { // The bounds to draw. float xmin = -3; float xmax = 3; float ymin = -3; float ymax = … Continue reading

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

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