Skip to content

Subscripts break Manipulate/ManipulatePlot #437

@lylythechosenone

Description

@lylythechosenone

It seems that Manipulate and ManipulatePlot can't handle variables with subscripts in their names. This snippet fails to run:

ManipulatePlot[With[{carrier = Sin[2 Pi (*SbB[*)Subscript[f(*|*),(*|*)C](*]SbB*) t], data = Sin[2 Pi f t]}, {carrier, data, carrier * data}], {t, 0, 1}, {{(*SbB[*)Subscript[f(*|*),(*|*)C](*]SbB*), 10}, 10, 20}, {{f, 1}, 1, 2}]

while this one runs fine:

ManipulatePlot[With[{carrier = Sin[2 Pi fC t], data = Sin[2 Pi f t]}, {carrier, data, carrier * data}], {t, 0, 1}, {{fC, 10}, 10, 20}, {{f, 1}, 1, 2}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions