Mathematical Notation Graphs

Chapter 4 Graph

Graph for chapter 4 notationUse WinPlot to create the graph to the right.

WinPlot can be downloaded for free from http://math.exeter.edu/rparris/winplot.html. When you get there, the word WinPlot in the heading is the link to download the file. When you download the file, it is a self-extracting executable. When you run it, it will extract a single file called winplot.exe to c:\peanut (unless you tell it otherwise). Then navigate to that location using Windows Explorer and run the program.

The default window size is great for looking at things on the screen, but when you paste them into a Word document, the text becomes too small to read. The best way to fix this is to change the image size in WinPlot so it is smaller.

  1. When WinPlot first comes up, you only have two choices. Window and Help.
    1. Choose Window / Use Defaults (if it is already checked, then you don't need to select this)
    2. Choose Window / 2-dim
  2. Go to File / Image Size
    1. Set the width and height to both be 11 cm
    2. Click OK
  3. In the 2-dim window that appears, choose Equation / Explicit. In the y = f(x) box that appears, do the following
    1. Type the expression xx-16/x (xx stands for x*x or x2 in WinPlot).
    2. Change the low x and high x to be -7 and 7
    3. Change the pen width to be 3
    4. Change the pen color to be red (close the color window after you choose red)
    5. Click OK
  4. Go to View / View (control-V)
    1. Click Set Corners
    2. Set the left corner to -7, the right corner to 7, the down to be -30 and up to be 50
    3. Click apply
    4. Click close
  5. Choose View / Grid (control-G). The following will take you from top to bottom
    1. Turn on both axes (should be the default)
    2. Turn on ticks (should be default)
    3. The tick length is 0.8 (default value)
    4. Check the scale box for the x. The interval is 1, the number of decimal places is 0, the frequency is 1.
    5. Check the scale box for the y. The interval is 10, the number of decimal places is 0, the frequency is 1.
    6. Mark scale on axes (default)
    7. You want no grid, but it's okay to leave the quadrants checked since you haven't turned on any grids. The number of polar sectors don't matter since polar sectors isn't checked. All of this is the default.
    8. Click apply
    9. Click close
  6. Select the Inventory window. If it's not showing, you can choose Equation / Inventory (Control-I)
    1. There should be one entry in the inventory, y= xx-16/x. But if there are more, make sure that one is highlighted.
    2. Click derive. This generates the first derivative
    3. Click derive again, this generates the second derivative.
  7. Still in the inventory window, highlight the line that says der1{y = xx-16/x } and click edit
    1. A y=f(x) window pops up and says you "cannot edit this". While you can't edit the function, you can change the appearance.
    2. Set the pen width to 2
    3. Set the color to blue (close the color window after you choose blue)
    4. Click OK
  8. Repeat the previous step with the second derivative, changing the pen width to 1 and the color to green
  9. Back in the 2-dim window, choose Misc / Fonts / Scale on Axis
    1. Increase the font size. I recommend at least 12.
    2. You can change the font if you prefer, I used Arial and made it bold, but I'm not that particular about it.
    3. Click OK
  10. Choose Buttons / Text. Now when you right click the mouse on the graph, you can add text.
  11. Right click the mouse somewhere near the top left of the original function in red. This brings up an Edit Text box
    1. In the first line, type y
    2. You may wish to change the font to a larger font. I used 16 pt Times New Roman when creating the graph.
    3. Click OK
  12. Repeat the previous step for all of the y and y' and y" annotations on the graph.
    1. If you need to edit a text annotation, right click on it
    2. If you need to re-locate a text annotation, drag it with the left mouse button
  13. Optional, but highly recommended -- Save your graph so you can open it later.
    1. Choose File / Save As
    2. Change the location to be where you're saving your Word Document. Either My Documents or your floppy disk. If this is your home computer, you could leave it in the c:\peanut directory
    3. Give it a name like ch4graph and click Save
  14. Choose File / Copy to Clipboard (Control-C)
  15. Switch to your Microsoft Word document
  16. Paste the graph into Word. It will take up most of the page, but we'll resize it.
  17. Right click the mouse on the graph and choose Format Picture
    1. Choose Size and set the width to 2"
    2. Choose Layout and choose Square and then set the horizontal alignment to Right
    3. Click OK
  18. Drag the picture to where you want it to be.

Chapter 5 Graph

Exponential / Logarithm comparison There are two graphs that you'll need to create for this image. One is the exponential function with base 2 and the other is the logarithmic function with base 2.

y = 2x gets entered into WinPlot as 2^x. y = log2 x gets entered into WinPlot as log(2,x).

  1. When WinPlot first comes up, you only have two choices. Window and Help.
    1. Choose Window / Use Defaults (if it is already checked, then you don't need to select this)
    2. Choose Window / 2-dim
  2. Go to File / Image Size
    1. Set the width and height to both be 9 cm
    2. Click OK
  3. In the 2-dim window that appears, choose Equation / Explicit. In the y = f(x) box that appears, do the following
    1. Type the expression 2^x
    2. Change the low x and high x to be -5 and 5 (should be the defaults)
    3. Change the pen width to be 3
    4. Change the pen color to be red (close the color window after you choose red)
    5. Click OK
  4. Choose Equation / Explicit again.
    1. Type the expression log(2,x)
    2. Change the low x and high x to be -5 and 5 (should be the defaults)
    3. Change the pen width to be 3
    4. Change the pen color to be red (close the color window after you choose red)
    5. Click OK
  5. Go to View / View (control-V) - If you had Use Defaults checked when you created the graph, then this step should be optional as the default viewing window is -5 to 5 for both the x and y directions.
    1. Click Set Center
    2. The horizontal center is 0
    3. The vertical center is 0
    4. The width is 10 (that gives you five on either side)
    5. Click apply
    6. Click close
  6. Choose View / Grid (control-G). The following will take you from top to bottom
    1. Turn on both axes (should be the default)
    2. Turn on ticks (should be default)
    3. The tick length is 0.8 (default value)
    4. Check the scale box for the x. The interval is 1, the number of decimal places is 0, the frequency is 1.
    5. Check the scale box for the y. The interval is 1, the number of decimal places is 0, the frequency is 1.
    6. Mark scale on axes (default)
    7. You want no grid, but it's okay to leave the quadrants checked since you haven't turned on any grids. The number of polar sectors don't matter since polar sectors isn't checked. All of this is the default.
    8. Click apply
    9. Click close
  7. Back in the 2-dim window, choose Misc / Fonts / Scale on Axis
    1. Increase the font size. I recommend at least 12.
    2. You can change the font if you prefer, I used Arial and made it bold, but I'm not that particular about it.
    3. Click OK
  8. Optional, but highly recommended -- Save your graph so you can open it later.
    1. Choose File / Save As
    2. Change the location to be where you're saving your Word Document. Either My Documents or your floppy disk. If this is your home computer, you could leave it in the c:\peanut directory
    3. Give it a name like ch5graph and click Save
  9. Choose File / Copy to Clipboard (Control-C)
  10. Switch to your Microsoft Word document
  11. Paste the graph into Word. It will take up most of the page, but we'll resize it.
  12. Right click the mouse on the graph and choose Format Picture
    1. Choose Size and set the width to 2"
    2. Choose Layout and choose Square and then set the horizontal alignment to Right
    3. Click OK
  13. Drag the picture to where you want it to be.