turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Discussions
- :
- How can I overlay bubble plot with regression?

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Aug 13, 2012 5:13 PM
(1321 views)

Bubble plots are so different from a regression plot. Is there any way to overlay both onto the same graph?

I realize one must lose the animation slider and any other differences between the two, but both are Y vs X so there should be some way to do this.

Any ideas?

1 REPLY

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Nov 14, 2013 8:34 AM
(1133 views)

Here is a manual way. I used it to overlay a 45 degree line onto a regression plot but also works for your bubble plot.

First, make your bubble lot and then separately obtain your regression line. I assume you do not want the raw data so be sure to click off Show Points in the Bivariate Fit red triangle. Then in that regression line graph, rt-clk Edit:Copy Frame Contents, then click on the target graph (bubble plot) to make it active, and rt-clk Edit:Paste Frame Contents. That places your regression line (contents of the regression frame) onto the bubble plot frame. You need to have the Arrow active, not the select (cross) tool, when right clicking. Interesting that at least as of JMP10, the two graphs do not need to be the same size. If the x-axes are not the same, the line is still accurate but might not fill the space: if the target x-axis is longer (wider) than the regression line plot, the line only goes to its original x-width. I have not found a way to script this yet.