Choose Language Hide Translation Bar

Super User

Joined:

Jun 4, 2014

## Mosaic Plots Question

Is it possible to condtruct Mosaic Plots with equal widths for the X factors similar to what can be done with Box Plots?

Steve
1 ACCEPTED SOLUTION

Accepted Solutions

Staff

Joined:

Jun 25, 2014

Solution

## Re: Mosaic Plots Question

Hi Smoore2,

Using graph builder you can create a mosaic plot with either proportionally sized or equally sized x categories.

If you use your X variable in the X drop zone, you will produce the typical mosaic plot with proportionally sized categories on the X

But, if you use your X variable in the "Group X" drop zone at the top, JMP will size the categories equally.

If you right click the category labels on the top, then select "X Group Edge" you can move the labels to the bottom (to most closely resemble the original mosaic plot).

I hope this helps!

Julian

10 REPLIES 10

Super User

Joined:

Jun 4, 2014

## Re: Mosaic Plots Question

Sorry for the typo:  "Is it possible to construct...."

Steve

Staff

Joined:

Jun 23, 2011

## Re: Mosaic Plots Question

In a Mosaic Plot, the proportions on the x-axis represent the number of observations for each level of the X-variable. This is for explanatory value afforded by the plot to explain an additional dimension to the visualized graphic.

Staff

Joined:

Jun 23, 2011

## Re: Mosaic Plots Question

An alternative view that I like using graph builder is a heat map with the frequency color scale. This view uses equal real estate for the x-axis.

Super User

Joined:

Jun 4, 2014

## Re: Mosaic Plots Question

LouV,  Yes, I understand why the columns are not the same width.  Boxplots can do the same thing, but you can have the boxes the same width if desired.  I was hoping this ability could be envoked for mosaic plots as well.

Steve

Staff

Joined:

Jun 23, 2011

## Re: Mosaic Plots Question

smoore2,

Have you shared your desire with support@jmp.com so that it can be considered in the future?

Super User

Joined:

Jun 4, 2014

## Re: Mosaic Plots Question

I will do that.  Thanks!

Steve

Staff

Joined:

Jun 25, 2014

Solution

## Re: Mosaic Plots Question

Hi Smoore2,

Using graph builder you can create a mosaic plot with either proportionally sized or equally sized x categories.

If you use your X variable in the X drop zone, you will produce the typical mosaic plot with proportionally sized categories on the X

But, if you use your X variable in the "Group X" drop zone at the top, JMP will size the categories equally.

If you right click the category labels on the top, then select "X Group Edge" you can move the labels to the bottom (to most closely resemble the original mosaic plot).

I hope this helps!

Julian

Super User

Joined:

Jun 4, 2014

## Re: Mosaic Plots Question

Thank-you, Julian!

Steve

Community Trekker

Joined:

Feb 20, 2016

## Re: Mosaic Plots Question

This is a good solution for the simple situation as discussed.

If I want to generate a plot combining several variables, then I usually must put one variable in the X drop zone and then the proportional sizing is no longer available for this variable.

By the way, I usually am not free to select which variable is dropped in the x-zone because of the fixed priorization of x and Group x drop zones in the set-up of the plot.