5758596061626364
private Curve parseFofX(String text, Color color) throws SyntaxException { Variable x = Variable.make("x"); Parser parser = new Parser(); parser.allow(x); return new FunctionOfX(canvas, color, x, parser.parseString(text)); } }