cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
gandi2223
Level III

Highlight certain points in bivariate plot

I've got a large number of points that I would like to show in a bivariate plot. Among these, I would like to highlight only a few points. However, changing their colour or the marker type does not do the trick because of the large number of points. Is it possible to increase the marker size of specific datapoints to make them stick out?

1 ACCEPTED SOLUTION

Accepted Solutions
ms
Super User (Alumni) ms
Super User (Alumni)

Re: Highlight certain points in bivariate plot

With Graph Builder that is easy by using the size role. I am not aware of a built-in method for resizing individual points in Fit Y by X.

It is however possible using a graphics script.

Example

Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");

bv = Bivariate(Y(:Weight), X(:Height));

// Create a matrix of rows to highlight e.g.

r= dt << get rows where(:name=="ROBERT");

// Add big markers on top of the points of interest

Eval(

    Eval Expr(

        Report(bv)[Framebox(1)] << add graphics script(Marker(Marker size(10); Color State("red"),     Expr(:Height[r]), Expr(:Weight[r])))

    )

);

View solution in original post

2 REPLIES 2
ms
Super User (Alumni) ms
Super User (Alumni)

Re: Highlight certain points in bivariate plot

With Graph Builder that is easy by using the size role. I am not aware of a built-in method for resizing individual points in Fit Y by X.

It is however possible using a graphics script.

Example

Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");

bv = Bivariate(Y(:Weight), X(:Height));

// Create a matrix of rows to highlight e.g.

r= dt << get rows where(:name=="ROBERT");

// Add big markers on top of the points of interest

Eval(

    Eval Expr(

        Report(bv)[Framebox(1)] << add graphics script(Marker(Marker size(10); Color State("red"),     Expr(:Height[r]), Expr(:Weight[r])))

    )

);

ron_horne
Super User (Alumni)

Re: Highlight certain points in bivariate plot

Hey gandi2223​,

MS​ is right and gave you a robust solution.

if you need a softer approach for a one time fix try selecting the observations you want to sand out after fixing the following in the File>> Preferences

12860_pastedImage_0.png