pd noun define -. TAB
  reset
  type surface
  key "surface one" "surface two" "surface three"
)
pd (];];+/~) i.4
pd (];];10++/~) i.4
pd (];];30++/~) i.4
pd 'show'

The key colors have nothing to do with the surface colors.

I can make them match, of course, but the default
behavior seems meaningless.

On a related note, plot does not deal well with
some overlapping surfaces:

pd noun define -. TAB
  reset
  type surface
  key "surface one" "surface two" "surface three"
)
pd 'color ',":0{STDCLR_jzplot_
pd (];];30++/~) i.4
pd 'color ',":1{STDCLR_jzplot_
pd (];];10++/~) i.4
pd 'color ',":2{STDCLR_jzplot_
pd (];];+/~) i.4
pd 'show'

(the later surfaces should not obscure the
earlier surfaces in this case.  No depth buffer.)

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

Reply via email to