27 Dec
2005
27 Dec
'05
10:03 p.m.
David Arnold wrote:
All,
In mp-grid.mp, I find this definition:
def hlingrid (expr Min, Max, Step, Length, Width) text t = image ( for i=Min step Step until Max+grid_eps : draw (origin--(Width,0)) shifted (0,i*(Length/Max)) t ; endfor ; ) ; enddef ;
See the text t at the end of the first line? Can someone tell me what that does and can I have a small example of its use?
t (text) is anything upto the ; so you can use it to pass things like 'withcolor red' and so Hans