jmp-l
[Top] [All Lists]

Re: How to change x axis values by another column?

To: jmp-l@lists.biostat.wustl.edu
Subject: Re: How to change x axis values by another column?
From: Mark Bailey <mark4flies@aol.com>
Date: Wed, 18 Feb 2009 16:59:18 -0500
In-reply-to: <25e89e790902181324s302dd1bcx4bcdaec5c58c00e0@mail.gmail.com>
References: <25e89e790902181117n7c9cad19s20a9ad85b67808e7@mail.gmail.com> <A4CE6EA1-AAD2-48C5-B156-27CBADE987E3@aol.com> <25e89e790902181324s302dd1bcx4bcdaec5c58c00e0@mail.gmail.com>
You want to use the values in column 2 but show the labels in column 1. Here is the script to do it:

dt = Current Data Table();

labels = Column(1) << Get Values;

values = Column(2) << Get Values;

Eval(
Substitute(
Expr(
Column(2) << Value Labels(
vvv,
lll
);
),
Expr( vvv ),
As List( values ),
Expr( lll ),
labels
)
);

Note: not all JMP axes will respect this column property, but I don't know any other way.

On Feb 18, 2009, at 4:24 PM, Fred Zhang wrote:

Sorry not to get your point.
Given this example, which column property to add?
How to do this in JSL?


Mark

They hate you if you're clever, and they despise a fool ("Working Class Hero" - John Lennon)

=
<Prev in Thread] Current Thread [Next in Thread>