- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Repel overlapping text labels
Sometimes, we have a gernal 2D plot with several overalpping labels as an example below:
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt:Age << Label( 1 );
For Each Row( Row State()=Labeled State(1) );
Graph Builder(
Size( 528, 454 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ) ),
Elements( Points( X, Y, Legend( 18 ) ) )
);
If we want to keep all the labels in the plot, one possible way is drag the labels to the right place. However, it become more difficalt when the data points are large. is there any possible way we can do as the same in R to repel overlapping text labels using JSL instead of drag the label one by one?
Before After
Reference: https://cran.r-project.org/web/packages/ggrepel/vignettes/ggrepel.html
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Repel overlapping text labels
I support your request and I have heard the request before. I am not aware of any way to do this currently in Graph Builder.
You should submit this enhancement request directly to
support@jmp.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Repel overlapping text labels
I support your request and I have heard the request before. I am not aware of any way to do this currently in Graph Builder.
You should submit this enhancement request directly to
support@jmp.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Repel overlapping text labels
There is a graph preference called Hide Overlapping Labels, which will try to move labels so they don't overlap, and will hide any that still do overlap. It doesn't move them far enough to need a tagline though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Repel overlapping text labels
Thanks for the great idea on this discussion, but we might lost a lot of labels when the data set goes large or distributed as different clusters. Hope JMP will consider this issue to be on the list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content