Skip to content

FunctionPlotter: Fix transformation from string to calculatable function #45

@laser-shark

Description

@laser-shark

Right now, every x is just replaced by *x, which does not allow functions like "x + 10" or "sin(x)". We should fix the replacement. First idea: only replace x by *x when it is immediately after a number.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions