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
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to