On 6/24/07, Ed Cox <[EMAIL PROTECTED]> wrote:
> Any thoughts on this behavior?
> 
Ed,
If I understand correctly you are wanting the xbar and the range on
different plots with lines and markers for each, but the line and marker
should be different colors?
If so then this will do it. If not perhaps you can show us what you want
in two single plots?
I agree that backcolor doesn't seem to do anything.

load 'statfns plot'

data=: ?5 50$100
xbar=: mean data
range=: (max data) - min data

pd 'reset'
pd 'multi 3 2,6'
pd 'backcolor 222 222 206'
pd 'title Xbar/R Control Chart'
pd 'xgroup 0 '
pd 'ygroup 0 1 '
one=:(('type line;color blue');xbar),:('type marker;color red;pensize
2');xbar
two=:(('type line;color magenta');range),:('type marker;color
green;pensize 2');range
pd one;<two
pd 'show'
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to