On my J8.03, I agree that the key is not centered - it is in the upper-right corner. If by "2nd axis" you mean right-axis labels, my display shows a y-axis of i.11 on the left and values _4+i.7 on the right - all of them, including the negative ones.
On Thu, Dec 6, 2018 at 2:36 PM Raul Miller <[email protected]> wrote: > Did you really mean: > > 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 2 1 _4 _3 > pd 'show' > > ? > > (Unless you have redefined the 'item' adverb, pd item;2 1 _4 3 is > equivalent to pd item 2 1 _4 3 -- in other words, it's specifying four > incomplete lines - I don't think you should expect a reasonable line > to be drawn if you only specify it with a single number.) > > Thanks, > > -- > Raul > > On Thu, Dec 6, 2018 at 2:24 PM Robert Cyr <[email protected]> wrote: > > > > 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 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- Devon McCormick, CFA Quantitative Consultant ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
