...

/

Troubleshooting Your Program

Troubleshooting Your Program

Fine-tune the airfoil plotter.

Understanding the issues

You wanted to graph an airfoil, not a giant greater-than sign. Let’s catalog all of the issues:

  1. The points are not graphed correctly; the points should look like an airfoil
  2. The x-axis and y-axis are flipped, and the numbers are on top of each other
  3. The airfoil name did not display
  4. The background should be white

Matplotlib is supposed to automatically graph (left to right) from negative x to positive x and (down to up) negative y to positive y. Basically, Matplotlib is supposed to graph like a normal graph automatically. ...