Choose Language Hide Translation Bar
Highlighted
lucasjohnson
Level I

label multiple ellipses in biplot

Dear Community,

 

Is there an easy way to label multiple ellipses in a biplot without adding individual annotations?

 

Thank you,

-Lucas

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
phil_kay
Staff

Re: label multiple ellipses in biplot

Okay, a better solution:

1. Make the ellipse plot with the points graph element as well

2. Select one of the data points from each source and then right-click > Rows > Label

You should have a label for each source ellipse now - assuming you have defined the source colunm as a label)

Now you want to get rid of the points from the plot. Actually we will just make them invisible.

3. Select the rows for the points that define the ellipses and define the marker for the rows as a space character, " " (Rows > Markers > Others...) 

 

Image.png

 

See the example data table with Graph Builder script.

View solution in original post

8 REPLIES 8
Highlighted
phil_kay
Staff

Re: label multiple ellipses in biplot

Hi,

 

How did you create the ellipses? They don't appear to have any data associated with them. I think we would need to understand that to offer a solution.

 

Thanks,
Phil

Highlighted
lucasjohnson
Level I

Re: label multiple ellipses in biplot

Hi Phil,

 

I am analyzing geochemistry (parts per million concentrations) from obsidian rock of which there are multiple groups or sources of obsdian. The ellipses are created from grouping multiple samples of obsidian source reference material (n=>5), applying 95% confidence ellipses based on these source samples, then hiding the source sample points, and then plotting the unknown samples relative to those ellipses to determine what source they are from. I am trying to label the ellipses by my source groups. In the past, I have inserted annotations with the obsidian reference material name, but this becomes time consuming if I want to repeat the analysis with new data.

 

Thank you,

-Lucas

Highlighted

Re: label multiple ellipses in biplot

In addition to Phil's help, I suggest that you study the Discriminant platform. You can build a model from the known sources (supervised learning) and then classify new samples based on the model.

Learn it once, use it forever!
Highlighted
lucasjohnson
Level I

Re: label multiple ellipses in biplot

Thank you. I will look into this further. I have used the distriminate function but not for creating a model.

Highlighted
phil_kay
Staff

Re: label multiple ellipses in biplot

Thanks for the explanation. I think that a solution would be to overlay with a data point for the means of each obsidian source reference material. Then you can label these points but make them invisible. I'll have a look later to see if I can find the simplest way to do this. Unless someone else provides a solution in the meantime...

Highlighted
lucasjohnson
Level I

Re: label multiple ellipses in biplot

Thank you Phil. How do I plot a mean point for each source?

Highlighted
phil_kay
Staff

Re: label multiple ellipses in biplot

Okay, a better solution:

1. Make the ellipse plot with the points graph element as well

2. Select one of the data points from each source and then right-click > Rows > Label

You should have a label for each source ellipse now - assuming you have defined the source colunm as a label)

Now you want to get rid of the points from the plot. Actually we will just make them invisible.

3. Select the rows for the points that define the ellipses and define the marker for the rows as a space character, " " (Rows > Markers > Others...) 

 

Image.png

 

See the example data table with Graph Builder script.

View solution in original post

Highlighted
lucasjohnson
Level I

Re: label multiple ellipses in biplot

Thank you Phil. I will give this a try. I follow your instructions.
Article Labels

    There are no labels assigned to this post.