Use Context-Sensitive Items from the Context Panel to Manipulate Expressions - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Reference : Shortcuts : Context-Sensitive Menus : worksheet/expressions/manipulatecsm

Use Context-Sensitive Items from the Context Panel to Manipulate Expressions

The Context Panel provides context-sensitive options for the current math selection. These menus contain common operations that you can perform on the current selection. The list of operations changes as the selection changes.

 

Using a Context-Sensitive Item from the Context Panel

Details on Using the Context-Sensitive Options

Classic Worksheet Interface

Using a Context-Sensitive Item from the Context Panel

1. 

Select an expression to apply an operation to the entire expression, or select a subexpression.

2. 

From the Context Panel, select an operation. Maple performs the operation.

  

For general information on the Context Panel, see Context Panel Overview.

Details on Using the Context-Sensitive Options

Context-Sensitive Options and Document Blocks

If you use an option from the Context Panel 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-Sensitive Operations.

Context Menus and Execution Groups

When using context-sensitive options in an execution group, all commands are displayed.

• 

If you select an expression at a prompt ( ), and select an operation from the Context Panel, Maple creates a new input prompt with the corresponding Maple commands to perform the operation.

• 

If you apply a Context Panel item on an output expression in an execution group, 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.

See Also

assign

Document Blocks

Enter Expressions in Maple

Equation Labels

Execution Groups

Self-Documenting Context-Sensitive Operations

Use Context Panel for Plots