The following: --------------------------------------------------------------
load 'plot' pd 'reset' pd 'title profit vs cost ' pd 'key purchase transport' pd 'keypos center' pd 'type sbar' pd 'xlabel "apples" "oranges" "lemons" "cheries"' pd (i.2 4) pd 'y2axis' pd 'type line' pd items; 2 1 _4 _3 pd 'show' ------------------------------------------------------------- 1. does not show positive second axis values 2. does not center the key These are of course not major problems. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
