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.
Best regards,
Fabrice
\definecolor[mycolor][c=.4,m=0,y=0,k=0]
\starttext
\start
\switchtobodyfont[small]
\startMPcode
input tex;
numeric xmin, xmax, ymin, ymax;
thank you very much Alain, I think I understood for the format @d but
for other formats, I will need documentation.
Fabrice
\definecolor[mycolor][c=.4,m=0,y=0,k=0]
\starttext
\start
\switchtobodyfont[small]
\startMPcode
xmin := 0; xmax := 22; ymax :=460 ;ymin:=0; u := 0.5cm; v:= 0.025cm;
On Fri, 6 Mar 2015 18:15:09 +0100
Fabrice Couvreur fabrice1.couvr...@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