![techlog replace variable in logplot techlog replace variable in logplot](https://technologyinfotv.com/wp-content/uploads/2018/12/8/color-palette-opt.png)
If expr is not one of these, no substitutions are done. The member option causes subs to only apply substitutions directly to the top level members when expr is a list, set, function, selection, Array, Matrix, or Vector. If the eval option was used, it will be ignored while substituting within procedures. When a procedure is encountered in expr, subs will descend into it, performing substitution there as well.
#TECHLOG REPLACE VARIABLE IN LOGPLOT FULL#
The eval option to subs also performs a full evaluation while keeping the semantics the same as for subs. The eval command will not descend into any procedures appearing in the expression being evaluated. The eval command performs a full evaluation but takes care to delay substitutions which are not mathematically safe, as shown in the examples later. There are two ways of achieving a full evaluation: The action of substitution is not followed by evaluation by default. The result is the updated original expr table or rtable, rather than a copy. When inplace is specified, the input table or rtable is updated in-place. The inplace option only applies when substituting into a table or rtable (such as Array, Matrix, or Vector ) with no indexing function. A more powerful substitution is available using the algsubs command.
![techlog replace variable in logplot techlog replace variable in logplot](https://www.software.slb.com/-/media/software-media-items/software/images/image-viewer/tech_quan/tech_quan_1_xl.jpg)
Note that only subexpressions in expr that correspond to operands ( ops ) of a Maple object are matched. If a list, set, or table contains substitutions for both an expression and also for subexpressions thereof, the former takes precedence when the expression is encountered in expr. (It is not possible for a table to contain multiple substitutions for the same expression.) If the substitutions are specified by a set, the one that would appear first if the set were printed is used. If there are multiple substitutions for the same expression within a list of substitutions, the first one is used. When the substitutions are specified as a table, every occurrence of an index of the table that appears in expr is replaced by the corresponding entry of the table. When the substitutions are specified by an equation, or a list or set of equations, every occurrence of the left-hand side of an equation that appears in expr is replaced by the right-hand side of the equation. The substitutions within one set, list, or table are performed simultaneously. The substitutions are performed sequentially starting with s1. , sn must be an equation, a list or set of equations, or a table. The second general form of the subs command makes the substitutions specified by first arguments in the last argument expr. Differences between the two commands are highlighted in the examples later. Simple applications of replacing a symbol by a value in a formula should normally be done with the eval command. Note that this command is similar to the eval command. The first form of the subs command substitutes a for x in the expression expr. Substitute subexpressions into an expressionĮquations, sets or lists of equations, or tables