Skip to content

Commit

Permalink
Ignore 'min' and 'max' when 'unit' is not recognized
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Aug 18, 2020
1 parent 2fade93 commit 0f3a132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/annotations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ \subsubsection{Axis Properties}\label{axis-properties}
user, on the other hand, a tool may choose a unit for the variable such that the range of the variable values (expressed in the chosen unit) fit nicely with the range of the unitless axis.
\end{nonnormative}

If a tool does not recognize the \lstinline!unit!, it is recommended to issue a warning and treat the \lstinline!unit! as if it was empty.
If a tool does not recognize the \lstinline!unit!, it is recommended to issue a warning and treat the \lstinline!unit! as if it was empty, as well as ignore any setting for \lstinline!min! and \lstinline!max!.

When an axis label isn't provided, the tool produces a default label. Providing the empty string as axis label means that no label should be shown. Variable replacements, as described in
\cref{variable-replacements}, can be used in the \lstinline!label! of \lstinline!Axis! The Modelica tool is responsible for showing the unit used for values at the axis tick marks, so the axis
Expand Down

0 comments on commit 0f3a132

Please sign in to comment.