microsoft / calculator

Windows Calculator: A simple yet powerful calculator that ships with Windows
MIT License
29.66k stars 5.37k forks source link

Graph should support plotting (x,y) coordinate pairs as points #981

Open MicrosoftIssueBot opened 4 years ago

MicrosoftIssueBot commented 4 years ago

Problem Statement Users cannot plot points on the graph today, only expressions.

Proposal Add support for plotting coordinate pairs as points (e.g., P1 = (3,5))

Goals Users can plot (x,y) coordinate pairs.

Low-Fidelity Concept image

Requested Assignment I'm just suggesting this idea. I don't want to implement it.

MicrosoftIssueBot commented 4 years ago

This is your friendly Microsoft Issue Bot. I created this issue automatically as requested by a team member.

ghost commented 4 years ago

This pitch looks like it has everything it needs for review. In the meantime, we'll keep this idea open for discussion so the community has the chance to provide feedback. Check out our New Feedback Process for more info on the user-centered process we follow for new feature development.

ghost commented 4 years ago

@grochocki A few things that I wish to highlight:

In your proposal, f(1) does not make sense. It should have been f_1. f(1) means that you are passing the value 1 to a function named f, whereas f_1 represents a function. I request you to please edit your original comment so that others do not get confused.

Please note that we are currently naming both functions and equations as f#, which is not appropriate as far as mathematics is concerned. But here, we need to make a clear distinction between functions and points so that we don't repeat this mistake.

ghost commented 4 years ago

There should also be an option to label the points on the graph. For example P(6,7), Q(5,7), A(6,-1,3) etc.

This would be helpful in defining line segments using these points, as requested in #1366. For example PQ.

grochocki commented 4 years ago

Right you are on all accounts @Rahul-Dixit. Updated original proposal to reflect this. The mock was quickly generated in Paint, but we would definitely want to investigate design options for points if we were to move forward with this idea, since the current function input boxes don't work for points.