EZ Programing Demos

Slow motion, step by step, animated demonstrations of basic computer programing techniques

Links to topics:

Current topic:

Plotting a point

We will plot points on our graph using x- and y-coordinates. Run the demo below several times. Each time change the values of the x- and y-coordinates to notice how you could use such a command to plot anywhere on the graph.

 Slow  Medium  Fast 
Click 'Run' to go.

Here are some examples of (x, y) coordinate pairs and the points they reference:

 

In our computer language demos the command point is used to plot (x, y) points. This command is followed by two expressions separated by a comma. The first expression, a simple number in our case here, is the value of the x-coordinate. The second expression, again a simple number, is the value of the y-coordinate. The point command looks like this:

In the picture below we see that when we plot the point (6, 4) a small dot appears 6 units to the right of the origin and 4 units up from the origin. This is exactly what should be expected.

 

Here is our simple flowchart for this demo:

 

The imaginary code for this program:

    
    point(6, 4);
    

 

Suggested next article:

At EZ Math Movie

EZ Math Movie is a site that can help you experiment with and understand many topics in mathematics. Its main feature is an interactive animated (x, y) graph that you control with an actual programing language. There are many examples and tutorials, and EZ Math Movie is crossed referenced with both EZ Programing Demos and Zona Land Education.

 

Zona Land Education is a site with explanations and interactive diagrams covering many topics in physics and mathematics. Zona Land Education is cross referenced with EZ Math Movie, and it contains several animations that use EZ Math Movie's programing language.