Skip to content

Commit

Permalink
Remove style guide for "Curve-expression", and update in document
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Mar 31, 2021
1 parent 9029a2a commit 2e19c9b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion chapters/annotations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ \subsubsection{Plot Curves}\label{plot-curves}

The mandatory \lstinline!x! and \lstinline!y! expressions are restricted to be component references referring to a scalar variable or \lstinline!time!.
It is an error if \lstinline!x! or \lstinline!y! does not designate a scalar variable.
When the \lstinline!unit! of an \lstinline!Axis! is non-empty, it is an error if the unit of the corresponding \lstinline!Curve! expression (i.e., a variable's \lstinline!unit!, or second for \lstinline!time!) is incompatible with the axis unit.
When the \lstinline!unit! of an \lstinline!Axis! is non-empty, it is an error if the unit of the corresponding \lstinline!x! or \lstinline!y! expression (i.e., a variable's \lstinline!unit!, or second for \lstinline!time!) is incompatible with the axis unit.

When \lstinline!legend! isn't provided, the tool produces a default based on \lstinline!x! and/or \lstinline!y!.
Providing the empty string as \lstinline!legend! means that the curve shall be omitted from the plot legend.
Expand Down
1 change: 0 additions & 1 deletion styleguide.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ Different constructs with _expression_ and _call_:
Appearance | LaTeX source | Comment
--- | --- | ---
`if`-expression | `\lstinline!if!-expression` | Generic language concept
`Curve`-expression | `\lstinline!Curve!-expression` | Currently with space in the document!
`Real` expression | `\lstinline!Real! expression` | An expression of type `Real`
`y` expression | `\lstinline!y! expression` | Expression for something named `y`
`convertElement` call | `\lstinline!convertElement! call` | A call expression with callee `convertElement`
Expand Down

0 comments on commit 2e19c9b

Please sign in to comment.