[NTG-context] Add labels to a grid (Metafun)

Alan BRASLAU alan.braslau at cea.fr
Fri Mar 6 18:38:18 CET 2015


On Fri, 6 Mar 2015 18:15:09 +0100
Fabrice Couvreur <fabrice1.couvreur at gmail.com> wrote:

> To add labels to a grid, Hans wrote a macro hlintext (Min, Max, Step,
> Lenght, Format). I do not know what to put in "Format".

it is a string format specifier such as "%g", "%f", "%d", ...
Since the % can sometimes cause problems being interpreted as a comment
character, it is usually replaced in Metafun by @, as in "@g".

Alan


More information about the ntg-context mailing list