Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show equation being plotted #2

Open
wants to merge 3 commits into
base: customization
Choose a base branch
from

Conversation

jeanimal
Copy link

Right below the degree text box, added a new textbox that is disabled (uneditedable) with the equation actually being plotted, based on the degree. For example
degree equation
1 a0 + x^1 = 0
2 a0 + a1 x^1 + x^2 = 0
3 a0 + a1 x^1 + a2 x^2 + x^3 = 0

I had the idea to add the equation because I was confused. The coefficient labels on the plot did not obviously match the equation at the top of the "Explanation" section-- e.g. for degree n there is no a_n-- so I thought there was a mistake.

Screen Shot 2019-05-23 at 8 29 06 PM

@duetosymmetry
Copy link
Owner

Please take a look at this page on the MathJax docs to see how to programmatically ask MathJax to typeset an equation after load time. I suspect it's not possible to have typeset math inside of a textarea? In that case, I'm not sure what's the right UI approach to make it clear that the equation is an output that's linked to the degree input.

@jeanimal
Copy link
Author

New pull request for Latex version.
#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants