cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP Security Notice: CVE-2026-109618 and CVE-2026-109619

    JMP promptly initiated a review of its products, services, and relevant infrastructure for exposure to CVE-2026-109618 and CVE-2026-109619.

    Our assessment of JMP products has not identified exposure to these vulnerabilities. Where remediation was required within supporting environments, appropriate security updates and controls have been applied and validated.

    We have identified no evidence of successful exploitation or unauthorized access to JMP systems or customer information associated with these vulnerabilities.

    JMP continues to monitor the issue and relevant vendor guidance. No action is required by JMP customers at this time.

  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
aliegner1
Level IV

Script: How to send a group of columns to selection on FitYbyX?

 

Wondering if this is possible. I have a bunch of columns I've grouped together and want to standardize a script that will send all the columns in a group to the Yresponse. Each instance of this data table will have a variable amount of columns and the names will be changing and not fixed.

 

I'd love to just say: Send this group to the Yresponse.

 

aliegner1_0-1624652076193.png

 

3 REPLIES 3
Craige_Hales
Super User

Re: Script: How to send a group of columns to selection on FitYbyX?

dt = Open( "$SAMPLE_DATA/Cities.jmp" );
dt << group columns( "xy", {:X, :y} );
dt<<Bivariate( Y( :OZONE ), X( dt<<get column group( "xy" ) ) );
Craige
aliegner1
Level IV

Re: Script: How to send a group of columns to selection on FitYbyX?

wondering how I could script it to send all the column groups to the plot?

 

How to do this dynamically? Is there a way to generate a list of the column groups, and then send that list to the X()?

Craige_Hales
Super User

Re: Script: How to send a group of columns to selection on FitYbyX?

The scripting index shows a function you could use to get the column group names. You could use each of those names to call the get column group method and build a full list to pass to the platform you are running.  Roughly:

// untested
groupnames = dt<<getcolumngroupnames;
biglist={};
for(igroup=1,igroup<=nitems(groupnames),igroup+=1,
   insertinto(biglist, dt<<getcolumngroup( groupnames[igroup] ));
);
show(biglist);
... X(biglist) ...

scripting indexscripting index

Craige

Recommended Articles