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

Reply via email to