> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Sherlock, Ric
> Sent: Sunday, June 24, 2007 6:28 PM
> To: Programming forum
> Subject: RE: [Jprogramming] Problem with MultiPlot
> 
> 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'

I when I run the following code, I get the error 

|value error: IfPie
|       (-.IfPie)*.#YCAPTION

when running the line:  pd 'show'

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 '
pd (<'type line'),.(<<xbar) ,:<<range
pd (<'type marker;color red;pensize 2'),.(<<xbar) ,:<<range
pd 'show'

|value error: IfPie
|       (-.IfPie)*.#YCAPTION


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

Reply via email to