Mini Graphing Calculator.
Provides a user menu with four kinds of graphs: y = asin(bx)+c, y = atan(bx)+c, y = acos(bx)+c, and y = ax+b. Based on the user's choice, ask for the variables: a, b, c. The user can select up to 4 graphs. Ask user again for the next input until the user enters a blank input or reaches 4 grahps. Plot the graphs selected by the user in different colors on a single graph/axis.
- Look into python module/s I can use for graphing. How do I plot different graphs on the same axis? Also look into appropiate scale and size of the axis.
- What is the best way to get input from the user and validates the values? How to catch different value error since I'm getting a lot of values from the user?
- Best menu design that does not confuse the user.
- Look into data structures combinations to store values a, b, c of the different graphs selected by the user.
- I'm using matplotlib, numpy and math modules to plot the graphs. I managed to plot the different grahps on the same axis with different colors.
- I'm using input function to get values from the user. User will be asked to enter the numbers and if one enters characters or punctuation characters, the program will exit.
- I used a menu similar to the one we used in one of the labs in class. The user can select up to 4 graphs, but if they want to plot graphs less than 4, they input an empty string after selecting the options of graphs they want to plot.
- I'm using a nested list to store values from the user, values for plotting the graphs. The list starts as an empty list then builds a nested list as the user selects graphs to plot and enters the values for plotting the graphs.