cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
aliegner1
Level IV

JSL: How to get the nice ROW LEGEND colors without the row legend?

 

So here's a question. I'm trying to script the formatting of a fresh data table and Fit YbyX but hitting a roadblock on the RowLegen and coloring. 

 

Selecting "Row Legend" automatically colors the points and the source data table appropriately and adds the legend.

The problem I'm running into is that the Quantiles plot creates it's own legend that I can't seem to turn off, and it does not actually color-code the points in the chart or the source data table.

 

So question: How to turn off the Quantiles legend OR do the Row Legend formatting but then turn it off?

 

	//Quantiles plots
    Quantiles( 1 ),
    Plot Actual by Quantile( 1 ),
    Line of Fit( 0 ),

 

//row legend by chamber
		Dispatch(
			{},
			"Oneway Plot",
			FrameBox,
			{Marker Size( 6 ), Marker Drawing Mode( "Normal" ),
			Row Legend(
				:TOOL_PROCESS_CHAMBER,
				Color( 1 ),
				Color Theme( "JMP Default" ),
				Marker( 0 ),
				Marker Theme( "" ),
				Continuous Scale( 0 ),
				Reverse Scale( 0 ),
				Excluded Rows( 0 )
				)
			}
		),

 

aliegner1_1-1623254882903.png

 

 

1 REPLY 1
jthi
Super User

Re: JSL: How to get the nice ROW LEGEND colors without the row legend?

I'm not exactly sure what is the end-goal what you want here, but maybe in this case using Rows menus Color or Mark by column would work?

 

Fit y by x with quantile plot:

jthi_0-1624376742309.png

 

Rows menu selection:

jthi_1-1624376767301.png

 

Color or mark by column menu:

jthi_2-1624376782465.png

 

End result:

jthi_3-1624376797552.png

 

-Jarmo

Recommended Articles