Use Context-Sensitive Menus to Manipulate Expressions - Maple Help

Use Context-Sensitive Menus to Manipulate Expressions

Context-sensitive menus are popup menus containing common operations that you can perform on the current selection. The list of operations changes as the selection changes.

 1 Right-click (Control-click for Macintosh) an expression to apply an operation to the entire expression, or select and right-click (or Control-click) a subexpression.
 2 From the context menu, select an operation. Maple performs the operation.

Standard Worksheet Interface

Context-sensitive menus for expressions adjust for the size of your computer screen.  By default, Maple shows a condensed context menu on smaller screens, and additional context menu selections can be found under More...  For information on controlling this feature, see Display Options.

 Context Menus and Document Blocks If you right-click (or Control-click) on an expression in a document block, the expression and the result are connected using an arrow or equal sign.  Often, self-documenting text indicates the calculation that has taken place.  For more information, see Self-documenting Context Menus.

When using context menus in an execution group, all commands are displayed.

 • If you right-click (or Control-click) on an expression in an execution group, Maple creates a new input line with the corresponding Maple commands to perform the operation.
 • If you invoke the context menu for an output expression and select an operation from the context menu, Maple creates a new input line with the corresponding Maple commands to perform the operation. The output expression is referenced by equation label if equation labeling is enabled.  For more information, see Equation Labels.

Classic Worksheet Interface

The behavior of context menu operations in the Classic worksheet interface is described in this section.

 Assigned Expression If you invoke the context menu for an assigned expression such as a := sin(x), Maple normally uses the variable name a (rather than the expression sin(x)) in any context menu operation. However, if the value of a has changed, Maple uses sin(x) in your operation rather than the new value of a.
 The Autoassign Feature If you right-click or Control-click an output expression and select an operation from the context menu, Maple usually creates a new input line with the corresponding Maple commands to perform the operation and assigns the answer to an automatically generated label.