User manual

22
Alternative ways of invoking this function is through the command
Plot expression in the
Dymola toolbar, or by the command
Plot > Plot Expression….
Since the function is not invoked on a signal, the
Plot Expression dialog will not contain
any pre-populated signal in this case:
The “Plot expression” functionality has support in the scripting environment through the
function
plotExpression. This function can, for example, be used to change the default
legend generated for an expression in a plot window.
It is also possible to combine signals from different result files when building the
expression. As shown already above, the notation used to indicate the result file is
resultFile[resultID], see the example below: