BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar

Sending variables to builder

Hi Guys,

I am trying to use the following script to send column names to the graph builder suite but JMP is throwing an exception and quitting.
(names contains column names, I am using i as a subscript, the forum does not show it)
0 Kudos
5 REPLIES 5

Re: Sending variables to builder

Anybody?
0 Kudos
mpb
Super User mpb
Super User

Re: Sending variables to builder

The crashing seems to happen when graph builder gets a Y entry which doesn't exist for any reason including faulty coding. So scripting the graph builder requires some care to prevent that from happening. The example below does not have that robustness but does illustrate how to do the basic function you appear to be looking for. I got this by simplifying a different and more complex example that was posted here some time ago.

0 Kudos

Re: Sending variables to builder

Thanks, that worked.

Now I am collecting all the column names into a list using the following:

0 Kudos
mpb
Super User mpb
Super User

Re: Sending variables to builder

This seems to work. Note that in the Graph Builder command, for Y I now wrap the subscripted colnames with char. The example makes one of the columns in the fitness data have a column name which will be returned wrapped with Name() so you have both kinds of column names in the example.
0 Kudos

Re: Sending variables to builder

Thanks, that worked.
0 Kudos