cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
hogi
Level XIII

Why is this DropZone called "Color"

Day 1 with JMP and a user wants to generate a point plot with 2 different colors for male and female:

hogi_21-1724518422279.png

 

The easy solution: use the Color Dropzone

The surprise: The Overlay does the same.

The second surprise: "Color" can do more than just "color":
For every entry in the legend, the user gets the possibility to define the Marker Style as well - as well as Size and Transparency.

hogi_4-1724516173230.png


A lazy user doesn't configure the colors manually - again and again for every single plot and subplot.

 

One alternative (which I use just very rarely):  row states to specify Colors and Markers.

hogi_6-1724516628985.png

The disadvantage: 
the legend in Graph Builder doesn't fit.


Another alternative (which I prefer):

define suitable colors via Column Property: Value Columns
Pros:
- meaningful legends - automatically (!)

- separate settings for every column (not via rows)

- I can control (via the Overlay and Color dropzone) where I want to use the setting - and for wich plots I DON'T want to use the setting : )

- I can overwrite the setting for individual entries via the legend right click menu

hogi_5-1724516344829.png

The 3rd surprise: there is no Column Property: Value Markers *)

 

Day 2 - the JMP user detects the subtle (and not so subtle) differences between the  Color and Overlay Dropzones:
by adding a smoother:

hogi_7-1724517312154.png

Now, let's add Color to the plot
suprise 4: with Color via Color, there is just a single fit curve:

hogi_23-1724518475808.png

 

... this is when the user remembers surprise #1, tries Overlay, and falls in love with the Overlay dropzone:

hogi_22-1724518446916.png

 

So, for scatter plots there is no apparent difference between Color and Overlay - but for other plots it is !!!
And often Overlay is THE way to add color.
Another example:

hogi_12-1724517799010.pngvs.hogi_13-1724517811895.png

 

Now let's generate another points plot - where there is a difference between Color and Overlay:
Color just adds color to the points, Overlay generates separate plots for every color, overlays them

- and by doing so: hides some girls. -> dangerous!

hogi_0-1724880261687.pngvs. hogi_1-1724880274976.png

 

Let's keep the plot as a stacked bubble plot, and with the findings from surprise #2, let's now define Markers for different values
... with the help of the Color Dropzone

hogi_4-1724880690635.png

16 REPLIES 16
hogi
Level XIII

Re: Why is this DropZone called "Color"

in Pictures from the Gallery#9@scwise mentions this mismatch between Overlay encoding @ 21 min .

BHarris
Level VII

Re: Why is this DropZone called "Color"

I think of "color" as being strictly color, but "overlay" as being the equivalent of the old transparencies-on-a-projector apparatus where you could "overlay" different plots on top of each other.  Yes, it's a little weird that overlay also drives the color, but I'm glad it does.  Overlay is also one of my favorite features of Graph Builder because it lets me break line plots wherever I want using a specific variable.

hogi
Level XIII

Re: Why is this DropZone called "Color"

Color is much more than just "Color", see :
Why is this DropZone called "Color" 


@hogi wrote:

Day 1 ...

The second surprise: "Color" can do more than just "color":
For every entry in the legend, the user gets the possibility to define the Marker Style as well - as well as Size and Transparency.

hogi_4-1724516173230.png

zoom out view:

hogi_0-1730747394068.png

 

For Color together with Overlay, you are right.
Overlay takes away most of of Color's superpowers - just Color and Transparency are left:

hogi_1-1730747440037.png

hogi
Level XIII

Re: Why is this DropZone called "Color"


@hogi wrote:

Overlay takes away most of of Color's superpowers - just Color and Transparency are left:

 


oh yes - and actually, there are some cases where the Color dropzone takes the full control for Transparency.
There is a Transparency setting for the individual Overlay entries, but without effect:
Transparency for Overlay Group? 

hogi_0-1744313755806.png

 

I hope in a future version of JMP the user will get more flexibility to adjust which settings are controlled by Color or Overlay .

hogi
Level XIII

Re: Why is this DropZone called "Color"

hogi
Level XIII

Re: Why is this DropZone called "Color"

How to synchronize color settings in JMP?
(same color for points and lines | same color for the left and right plot ...)

 

by far the best option:  Color Properties / Value Colors & Color Gradient: 
very easy to define -> all plots share the same settings | no "shifts" caused by subsets and local data filters

hogi_0-1758796764186.pnghogi_2-1758796771317.png

 

Within a plot window, one can specify a color setting which is applied to all plot types (lines, points) and subplots.
via red triangle/Color Settings:

hogi_3-1758796877457.png


It is important to note the following when the user wants to apply color settings manually:

  1. If only one entry is visible in the legend ("M" is displayed as points and lines, but there is only one item in the legend),
    the setting is applied to every corresponding plot (points, lines and other regions of the plot) -> synchronized changes *)
  2. If there are more entries visible in the legend (e.g. two 'M's), the changed setting will only apply to one plot type/subplot.
  3. The transition from Mode 1 to Mode 2 is irreversible. Once a setting has been changed, it is not possible to switch back to mode 1. Not even Revert is enough to reset the setting (useful workaround: open the script, delete the settings and run the script)

     

  4. revert:
    hogi_4-1758798122155.png

     

*) this is not a bug, it is a feature

hogi
Level XIII

Re: Why is this DropZone called "Color"

related topic: assign a color to axis labels (to match the color used in the plot)

Until now, assigning a color to axis ticks and labels was complicated.
Users had to apply the color via the 'Properties' menu on the right.

hogi_1-1759255641797.png

 

This type of assignment is fragile: The setting is applied to the Nth axis Box.
Changing the plot layout ruins the assignment:

[after adding the second x axis, the labels on the right are black , labels on the second x axis are red]

 

With JMP19, there is now an easier and more robust way: just click 'Parallel Y Labels' in the red triangle menu.
This new functionality has been implemented Plotting several trends from sensor data that have different units (or scale) 
nice: the color will match the color in the plot

Recommended Articles