Chris,

Thanks, your way is better.

Norman

Chris Burke wrote:
Thanks, this solution seems fine.

For pfmt, I suggest two minor changes. As far as I am aware, PDF supports negative numbers, so the test should be on magnitude. Also, I am inclined to set small values to 0, rather than 0.0001; as you say, these don't show up anyway. So the first line of pfmt becomes:

dat=. ": y * 0.0001 <: |y

I'll make these changes in the next beta.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to