HandleExpression - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

 HandleExpression
 determine the context menu that results in the context menu module for a selection

 Calling Sequence HandleExpression(expr, isfullexpr)

Parameters

 expr - list; contains the expression to handle for which context menu is determined isfullexpr - truefalse; determines whether expr is considered to be a full expression (true) or a subselection (false)

Description

 • The HandleExpression command returns a nested data structure, which encapsulates the context menu structure displayed by this context menu module when the expression expr is selected. The expr parameter can be any Maple object, including an expression sequence.
 • The HandleExpression command returns output in a specialized form used by Maple for generating its context-sensitive menus.  A simplified version of this output, more suitable for use in testing, is available from the command ContextMenu[Test][GetGeneratedMenu].
 • The command ContextMenu[CurrentContext][HandleExpression]([expr], isfullexpr) is equivalent to ContextMenu([expr], isfullexpr).

Examples of CurrentContext[HandleExpression]

 $\left[{\mathrm{CurrentContext}}{,}{\mathrm{Install}}{,}{\mathrm{New}}{,}{\mathrm{Save}}{,}{\mathrm{Test}}\right]$ (1)
 ${\mathrm{CONTEXTMENU}}{}\left({"Context Menu Actions"}{,}{""}{,}\left[\right]\right)$ (2)
 ${\mathrm{CONTEXTMENU}}{}\left({"Context Menu Actions"}{,}{""}{,}\left[\left[{"Apply a Command"}{,}{"Apply a command"}{,}{{\mathrm{CM_GenericAction}}}_{{x}{↦}{\mathrm{ContextMenu}}{:-}{\mathrm{Interactive}}{:-}{\mathrm{Apply}}{}\left({\mathrm{op}}{}\left({x}\right)\right){,}{\mathrm{true}}{,}{\to }}\right]{,}\left[{"Negate Boolean"}{,}{"Negate the boolean expression"}{,}{{\mathrm{CM_GenericAction}}}_{{"not\left(%EXPR\right)"}{,}{\mathrm{true}}{,}\stackrel{{\text{negate boolean}}}{{\to }}}\right]{,}{""}{,}{\mathrm{CONTEXTMENU}}{}\left({"Signal Processing"}{,}{""}{,}\left[{\mathrm{CONTEXTMENU}}{}\left({"Signal Generation"}{,}{""}{,}\left[\left[{"Generate Signal Using Sample Rate"}{,}{"Generate signal using sample rate"}{,}{{\mathrm{CM_GenericAction}}}_{\left(\right){↦}{\mathrm{ContextMenu}}{:-}{\mathrm{Interactive}}{:-}{\mathrm{Query}}{}\left({"SignalProcessing:-GenerateSignal\left( %EXPR, %1, %2, %3, \text{'}noisetype\text{'} = \text{'}%4\text{'}, \text{'}noisedeviation\text{'} = %5, \text{'}mirror\text{'} = \text{'}%6\text{'}, \text{'}copies\text{'} = \text{'}%7\text{'}, \text{'}output\text{'} = \text{'}signal\text{'} \right)"}{,}\left[\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Time variable:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{name}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter the name of the time variable"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Sample rate:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{algebraic}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a positive real number the sample rate"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Number of points:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{posint}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a positive integer for the number of sample points"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Noise type:"}{,}{"ContextMenu"}\right){,}\left[{"additive"}{,}{"multiplicative"}\right]{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Select the type of noise"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Noise standard deviation:"}{,}{"ContextMenu"}\right){,}{"0.0"}{,}'{\mathrm{algebraic}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a non-negative real number for the noise standard deviation"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Mirror:"}{,}{"ContextMenu"}\right){,}\left[{"none"}{,}{"symmetric"}{,}{"antisymmetric"}\right]{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Select the type of mirror"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Number of copies:"}{,}{"ContextMenu"}\right){,}{"1"}{,}'{\mathrm{posint}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a positive integer for the number of copies"}{,}{"ContextMenu"}\right)\right]\right]{,}'{\mathrm{title}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Specify sample options"}{,}{"ContextMenu"}\right)\right){,}{\mathrm{true}}{,}\stackrel{{\text{Generate signal}}}{{\to }}}\right]{,}\left[{"Generate Signal Using Time Range"}{,}{"Generate signal using time range"}{,}{{\mathrm{CM_GenericAction}}}_{\left(\right){↦}{\mathrm{ContextMenu}}{:-}{\mathrm{Interactive}}{:-}{\mathrm{Query}}{}\left({"SignalProcessing:-GenerateSignal\left( %EXPR, %1 = %2 .. %3, %4, \text{'}noisetype\text{'} = \text{'}%5\text{'}, \text{'}noisedeviation\text{'} = %6, \text{'}mirror\text{'} = \text{'}%7\text{'}, \text{'}copies\text{'} = \text{'}%8\text{'}, \text{'}output\text{'} = \text{'}signal\text{'} \right)"}{,}\left[\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Time variable:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{name}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter the name of the time variable"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Start time:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{realcons}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a real number for the start time"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Finish time:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{realcons}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a real number for the finish time"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Number of points:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{posint}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a positive integer for the number of sample points"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Noise type:"}{,}{"ContextMenu"}\right){,}\left[{"additive"}{,}{"multiplicative"}\right]{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Select the type of noise"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Noise standard deviation:"}{,}{"ContextMenu"}\right){,}{"0.0"}{,}'{\mathrm{algebraic}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a non-negative real number for the noise standard deviation"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Mirror:"}{,}{"ContextMenu"}\right){,}\left[{"none"}{,}{"symmetric"}{,}{"antisymmetric"}\right]{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Select the type of mirror"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Number of copies:"}{,}{"ContextMenu"}\right){,}{"1"}{,}'{\mathrm{posint}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a positive integer for the number of copies"}{,}{"ContextMenu"}\right)\right]\right]{,}'{\mathrm{title}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Specify options"}{,}{"ContextMenu"}\right)\right){,}{\mathrm{true}}{,}\stackrel{{\text{Generate signal}}}{{\to }}}\right]\right]\right){,}{\mathrm{CONTEXTMENU}}{}\left({"Visualizations"}{,}{""}{,}\left[\left[{"Generate Periodogram Using Sample Rate"}{,}{"Generate periodogram using sample rate"}{,}{{\mathrm{CM_GenericAction}}}_{\left(\right){↦}{\mathrm{ContextMenu}}{:-}{\mathrm{Interactive}}{:-}{\mathrm{Query}}{}\left({"SignalProcessing:-GenerateSignal\left( %EXPR, %1, %2, %3, \text{'}noisetype\text{'} = \text{'}%4\text{'}, \text{'}noisedeviation\text{'} = %5, \text{'}mirror\text{'} = \text{'}%6\text{'}, \text{'}copies\text{'} = \text{'}%7\text{'}, \text{'}output\text{'} = \text{'}periodogram\text{'} \right)"}{,}\left[\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Time variable:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{name}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter the name of the time variable"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Sample rate:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{algebraic}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a positive real number the sample rate"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Number of points:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{posint}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a positive integer for the number of sample points"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Noise type:"}{,}{"ContextMenu"}\right){,}\left[{"additive"}{,}{"multiplicative"}\right]{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Select the type of noise"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Noise standard deviation:"}{,}{"ContextMenu"}\right){,}{"0.0"}{,}'{\mathrm{algebraic}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a non-negative real number for the noise standard deviation"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Mirror:"}{,}{"ContextMenu"}\right){,}\left[{"none"}{,}{"symmetric"}{,}{"antisymmetric"}\right]{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Select the type of mirror"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Number of copies:"}{,}{"ContextMenu"}\right){,}{"1"}{,}'{\mathrm{posint}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a positive integer for the number of copies"}{,}{"ContextMenu"}\right)\right]\right]{,}'{\mathrm{title}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Specify options"}{,}{"ContextMenu"}\right)\right){,}{\mathrm{true}}{,}\stackrel{{\text{Generate periodogram}}}{{\to }}}\right]{,}\left[{"Generate Periodogram Using Time Range"}{,}{"Generate periodogram using time range"}{,}{{\mathrm{CM_GenericAction}}}_{\left(\right){↦}{\mathrm{ContextMenu}}{:-}{\mathrm{Interactive}}{:-}{\mathrm{Query}}{}\left({"SignalProcessing:-GenerateSignal\left( %EXPR, %1 = %2 .. %3, %4, \text{'}noisetype\text{'} = \text{'}%5\text{'}, \text{'}noisedeviation\text{'} = %6, \text{'}mirror\text{'} = \text{'}%7\text{'}, \text{'}copies\text{'} = \text{'}%8\text{'}, \text{'}output\text{'} = \text{'}periodogram\text{'} \right)"}{,}\left[\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Time variable:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{name}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter the name of the time variable"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Start time:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{realcons}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a real number for the start time"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Finish time:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{realcons}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a real number for the finish time"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Number of points:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{posint}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a positive integer for the number of sample points"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Noise type:"}{,}{"ContextMenu"}\right){,}\left[{"additive"}{,}{"multiplicative"}\right]{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Select the type of noise"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Noise standard deviation:"}{,}{"ContextMenu"}\right){,}{"0.0"}{,}'{\mathrm{algebraic}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a non-negative real number for the noise standard deviation"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Mirror:"}{,}{"ContextMenu"}\right){,}\left[{"none"}{,}{"symmetric"}{,}{"antisymmetric"}\right]{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Select the type of mirror"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Number of copies:"}{,}{"ContextMenu"}\right){,}{"1"}{,}'{\mathrm{posint}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a positive integer for the number of copies"}{,}{"ContextMenu"}\right)\right]\right]{,}'{\mathrm{title}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Specify options"}{,}{"ContextMenu"}\right)\right){,}{\mathrm{true}}{,}\stackrel{{\text{Generate periodogram}}}{{\to }}}\right]{,}\left[{"Generate Signal Plot Using Sample Rate"}{,}{"Generate signal plot using sample rate"}{,}{{\mathrm{CM_GenericAction}}}_{\left(\right){↦}{\mathrm{ContextMenu}}{:-}{\mathrm{Interactive}}{:-}{\mathrm{Query}}{}\left({"SignalProcessing:-GenerateSignal\left( %EXPR, %1, %2, %3, \text{'}noisetype\text{'} = \text{'}%4\text{'}, \text{'}noisedeviation\text{'} = %5, \text{'}mirror\text{'} = \text{'}%6\text{'}, \text{'}copies\text{'} = \text{'}%7\text{'}, \text{'}output\text{'} = \text{'}signalplot\text{'} \right)"}{,}\left[\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Time variable:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{name}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter the name of the time variable"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Sample rate:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{algebraic}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a positive real number the sample rate"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Number of points:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{posint}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a positive integer for the number of sample points"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Noise type:"}{,}{"ContextMenu"}\right){,}\left[{"additive"}{,}{"multiplicative"}\right]{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Select the type of noise"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Noise standard deviation:"}{,}{"ContextMenu"}\right){,}{"0.0"}{,}'{\mathrm{algebraic}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a non-negative real number for the noise standard deviation"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Mirror:"}{,}{"ContextMenu"}\right){,}\left[{"none"}{,}{"symmetric"}{,}{"antisymmetric"}\right]{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Select the type of mirror"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Number of copies:"}{,}{"ContextMenu"}\right){,}{"1"}{,}'{\mathrm{posint}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a positive integer for the number of copies"}{,}{"ContextMenu"}\right)\right]\right]{,}'{\mathrm{title}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Specify options"}{,}{"ContextMenu"}\right)\right){,}{\mathrm{true}}{,}\stackrel{{\text{Generate signal plot}}}{{\to }}}\right]{,}\left[{"Generate Signal Plot Using Time Range"}{,}{"Generate signal plot using time range"}{,}{{\mathrm{CM_GenericAction}}}_{\left(\right){↦}{\mathrm{ContextMenu}}{:-}{\mathrm{Interactive}}{:-}{\mathrm{Query}}{}\left({"SignalProcessing:-GenerateSignal\left( %EXPR, %1 = %2 .. %3, %4, \text{'}noisetype\text{'} = \text{'}%5\text{'}, \text{'}noisedeviation\text{'} = %6, \text{'}mirror\text{'} = \text{'}%7\text{'}, \text{'}copies\text{'} = \text{'}%8\text{'}, \text{'}output\text{'} = \text{'}signalplot\text{'} \right)"}{,}\left[\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Time variable:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{name}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter the name of the time variable"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Start time:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{realcons}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a real number for the start time"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Finish time:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{realcons}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a real number for the finish time"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Number of points:"}{,}{"ContextMenu"}\right){,}{""}{,}'{\mathrm{posint}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a positive integer for the number of sample points"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Noise type:"}{,}{"ContextMenu"}\right){,}\left[{"additive"}{,}{"multiplicative"}\right]{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Select the type of noise"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Noise standard deviation:"}{,}{"ContextMenu"}\right){,}{"0.0"}{,}'{\mathrm{algebraic}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a non-negative real number for the noise standard deviation"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Mirror:"}{,}{"ContextMenu"}\right){,}\left[{"none"}{,}{"symmetric"}{,}{"antisymmetric"}\right]{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Select the type of mirror"}{,}{"ContextMenu"}\right)\right]{,}\left[{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Number of copies:"}{,}{"ContextMenu"}\right){,}{"1"}{,}'{\mathrm{posint}}'{,}'{\mathrm{tooltip}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Enter a positive integer for the number of copies"}{,}{"ContextMenu"}\right)\right]\right]{,}'{\mathrm{title}}'{=}{\mathrm{_MessageCatalogue/GetMessage}}{}\left({"Specify options"}{,}{"ContextMenu"}\right)\right){,}{\mathrm{true}}{,}\stackrel{{\text{Generate signal plot}}}{{\to }}}\right]\right]\right)\right]\right){,}{""}{,}\left[{"Help on Command"}{,}{"Display the help page for this command"}{,}{{\mathrm{CM_GenericAction}}}_{{\mathbf{proc}}\left({x}\right)\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}{\mathrm{eval}}{}\left({\mathrm{help}}{}\left({\mathrm{op}}{}\left({1}{,}{x}\right)\right)\right){;}\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}{"%CANCEL"}\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}{\mathbf{end proc}}{,}{\mathrm{false}}{,}\stackrel{{\text{command help}}}{{\to }}}\right]\right]\right)$ (3)