Constants are helpful for creating lines in the viewport, for comparing against more complex functions, and for explaining what graphs are to beginning learners. Kalgebra handles constants in un-intuitive ways. Case: Y=5 attempt 1 Steps to reproduce: * 2D Graph * Add Function * 5 Expected behavior: * A straight line at y=5 (for any value of x, y equals 5) Observed behavior: " "Function type not recognized" Case: Y=5 attempt 2 Steps to reproduce: * 2D Graph * Add Function * y=5 Expected behavior: * A horizontal line at y=5 (for any value of x, y equals 5) Observed behavior: " Graph is y = x+5 (line with slope of 1, x intersect at -5 and y intersect at 5) Case: X = 5 Steps to reproduce: * 2D Graph * Add Function * X=5 Expected behavior: * A vertical line at x=5 (for any value of y, y equals 5) Observed behavior: " Graph is y = x-5 (line with slope of 1, x intersect at 5 and y intersect at -5) Reproducible: Always In the 3D case, it is similarly difficult to create lines or planes that exist only in one axis. The engine seems to handle these cases incorrectly.
I am running on Fedora 23, version 15.04.2. KAlgebra reports: KDE Frameworks 5.18.0 Qt 5.5.1 (built against 5.5.1) The xcb windowing system
the way to do this is by passing x->5. I won't close the bug just yet, but that's how the language was designed.
That makes sense and is very useful. A few suggestions: * It should be documented on the "Syntax" page of the manual. * x=5 and y=5 should return a syntax error instead of an incorrect result. * Syntax errors should point people at the Syntax page of the manual. Thanks.
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.
(In reply to Justin Zobel from comment #4) > As this report hasn't seen any changes in 5 years or more, we ask if you can > please confirm that the issue still persists. Just tested, the issue still persists.