Re: [NTG-context] bar graphs, m-graph, sarith

2013-07-08 Thread John Kitzmiller
Thank you Alan. That was exactly the redirection needed. John On Jul 7, 2013, at 9:24 AM, Alan BRASLAU wrote: Metapost now has double precision arithmetic, so one no longer needs to use the string arithmetic macros. However, it may be necessary to use scantokens as in clearxy; z =

Re: [NTG-context] bar graphs, m-graph, sarith

2013-07-07 Thread Alan BRASLAU
Metapost now has double precision arithmetic, so one no longer needs to use the string arithmetic macros. However, it may be necessary to use scantokens as in clearxy; z = (scantokens v1, scantokens v2); augment.p(x,0); augment.p(x,y); x := x + 0.4 ; augment.p(x,y); augment.p(x,0); Alan On

[NTG-context] bar graphs, m-graph, sarith

2013-07-06 Thread John Kitzmiller
When trying to make a bar graph with m-graph.mkiv and sarith, the command Ssub (string subtract) seems to Sadd instead. An mwe of a bar graph: (data1 is a separate file containing 01 02 02 03) \usemodule[m-graph] \startMPpage[instance=graph] input sarith; draw begingraph(5cm,5cm);