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

Showing results for

- JMP User Community
- :
- Discussions
- :
- Line and bar in overlay plot?

- 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
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Dec 22, 2011 11:36 AM
(1533 views)

I am trying to create an overlay plot that uses a line for the left axis and a bar for the right axis. I can plot two lines in an overlay but not a line and a bar. I can plot a line and a bar in a chart (as opposed to the overlay platform), but not get them on seperate y axes- they are both on the left.

For what it's worth, I am trying to do this in JMP 8 and would like to find a scriptable solution that doesn't require JMP9.

Thanks.

2 ACCEPTED SOLUTIONS

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Jan 6, 2012 1:08 PM
(1213 views)

Solution

You can do it in Graph Builder with JMP 9, but I can't think of a way in JMP 8.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Jan 7, 2012 5:02 AM
(1214 views)

Solution

Drag two variables together to Y, drag another variable to X. In contexual menu (right click on Y) pick "Move Right" and select one of the variables. Then it is possible to independently select any graph type for the left and right Y variables.

JSL example:

Open**(** "$ENGLISH_SAMPLE_DATA/Big Class.jmp" **)** << Graph Builder**(**

Variables**(** X**(** :age **)**, Y**(** :height **)**, Y**(** :weight, Position**(** **1** **)**, Side**(** "Right" **)** **)** **)**,

Elements**(**

Line**(** X, Y**(** **1** **)**, Summary Statistic**(** "Mean" **)** **)**,

Bar**(** X, Y**(** **2** **)**, Summary Statistic**(** "Mean" **)** **)**

**)**

**)**;

5 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Jan 6, 2012 1:08 PM
(1214 views)

Solution

You can do it in Graph Builder with JMP 9, but I can't think of a way in JMP 8.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Jan 6, 2012 1:14 PM
(1038 views)

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Jan 6, 2012 11:07 PM
(1038 views)

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Jan 7, 2012 5:02 AM
(1215 views)

Drag two variables together to Y, drag another variable to X. In contexual menu (right click on Y) pick "Move Right" and select one of the variables. Then it is possible to independently select any graph type for the left and right Y variables.

JSL example:

Open**(** "$ENGLISH_SAMPLE_DATA/Big Class.jmp" **)** << Graph Builder**(**

Variables**(** X**(** :age **)**, Y**(** :height **)**, Y**(** :weight, Position**(** **1** **)**, Side**(** "Right" **)** **)** **)**,

Elements**(**

Line**(** X, Y**(** **1** **)**, Summary Statistic**(** "Mean" **)** **)**,

Bar**(** X, Y**(** **2** **)**, Summary Statistic**(** "Mean" **)** **)**

**)**

**)**;

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Jan 9, 2012 6:15 AM
(1038 views)

Thanks to MS for providing an example. It's intentional that the dual-scale feature is somewhat buried. It's just too likely to produce a misleading graph. See

http://www.perceptualedge.com/articles/visual_business_intelligence/dual-scaled_axes.pdf