cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Get the free JMP Student Edition for qualified students and instructors at degree granting institutions.
Choose Language Hide Translation Bar
View Original Published Thread

Row legend - how to keep coloring, but remove legend itself, how to make range uniform across all By groups?

miguello
Level VI

I have Variability charts plotted By some group.

I want to color points by some column,

So I add this:

Row Legend(

                      MyCounter,

                      Color( 1 ),

                      Color Theme( "Cool to Warm" ),

                      Marker( 0 ),

                      Marker Theme( "" ),

                      Continuous Scale( 1 ),

                      Reverse Scale( 0 ),

                      Excluded Rows( 0 )

Now, I have two problems:

1. I need the scale to be uniform across all the Bygroups - right now coloring is assigned by the range of MyCounter for specific ByGroup.

2. I want coloring on the charft, but I need to remove the legend itself. How do I do that?

Was hoping that adding something like Hide(1) would work.

2 REPLIES 2
David_Burnham
Super User (Alumni)


Re: Row legend - how to keep coloring, but remove legend itself, how to make range uniform across all By groups?

If you don't want a legend then row legend is possibly the not best route.  Interactively in JMP you can colour using the Color Or Mark By Column option on the rows menu.  In JSL this is a message that is sent to the data table e.g. dt << Color Or Mark By Column( :Group).  Check the scripting index for additional arguments - colour themes etc

-Dave
robot
Level VI


Re: Row legend - how to keep coloring, but remove legend itself, how to make range uniform across all By groups?

You can also accomplish this without scripting from your data table by going to JMP -> Rows -> Color or Mark by Column, and then choose the column by which you would like to color your data.  This will color by all rows, not just rows in the "by" group, and will not automatically add a legend.