jmp-l
[Top] [All Lists]

How to change x axis values by another column?

To: jmp-l@lists.biostat.wustl.edu
Subject: How to change x axis values by another column?
From: Fred Zhang <ieaggie2009@gmail.com>
Date: Wed, 18 Feb 2009 14:17:24 -0500
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=g982G57qR/UOQ68LvX6xhEdblXZtqi4Y3d/9Lc/C+lI=; b=VXNFn5EZRj8gUQYWAMRgLzfKVTPxt15dE6dU0BM6f9ossOVDdz91j6vJuTX+ZJAPWq cstKraKbz1Cgyh6cxpIKP4npn5glfwPefPwCN0NlNx6t1uof3AQkPGdbnwrDQziLbY1M v8rM+4bkC0y4lPQxZxPvLQxdk8WxJ7xkI/Vxo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=M8fSTVmTT4X8Lq5yzR9a/HwEcmGC2jVDir8nv6RSH0DE38s6XYP8564Kx5RaPB3Uy9 C3Vaoo2RS60zMp9UHvHaXIGGNpkRlNb2/R0sjyXUscLhMRw4Ip0M2n8W+e8l7y9orymp HXwQd7Op/PHRAtYdmbVnSa8fxI7nT6Odd9/cU=
Hi, I have the following 3 columns:
 
Col_1          Col_2            Col_3
00Qtr1         1                   1.4
00Qtr2         2                   1.5
00Qtr3         3                   1.46
00Qtr4         4                   1.6
01Qtr1         5                   1.54
01Qtr2         6                   1.58
01Qtr3         7                   1.69
01Qtr4         8                    1.6
02Qtr1         9                    1.62
...                ....                 ...
08Qtr4        28                   2.48
I have tried Fit Y(Col_3) by X(Col_2), because both are numeric data type, for linear regression.
In the picture box or plot, I want to repley X axis values {1, 2, 3, 4, ....} by
the values of Col_1, i.e. {00Qtr1, 00Qtr2, 00Qtr3, ...}
 
So how to revise the following JSL code to do that?
 
Thanks,
Fred
-----------------------------------------------------------------------------------------------
 biv = Bivariate(
 Y( : Col_3 ),
 X( : Col_2 ),
 Fit Line( {Line Color( "Red" )} ),
 SendToReport(
  Dispatch(
   {},
   "1",
   ScaleBox,
   {Scale( Linear ), Format( "Best" ), Min( 1 ), Max( 28 ),
   Inc( 4 )}
  ),
  Dispatch(
   {},
   "2",
   ScaleBox,
   {Scale( Linear ), Format( "Numeric" ), Min( 0 ),
   Max( 2.5 ), Inc( .5 )}
  ),
  Dispatch( {}, "Bivar Plot", FrameBox, Marker Size( 2 ) )
 )
);
<Prev in Thread] Current Thread [Next in Thread>