cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

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

Gradient: color for Missing

Is there a way to change the color of Missing entries in GraphBuilder when using a gradient?

hogi_0-1679558264825.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Gradient: color for Missing

Most likely in similar manner as you can modify the gradient (creating custom color theme)

jthi_0-1679564380570.png

jthi_1-1679564412323.png

Graph Builder(
	Include Missing Categories(1),
	Variables(X(:sex), Y(:age), Color(:weight)),
	Elements(Points(X, Y, Legend(10))),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				10,
				Properties(
					0,
					{gradient(
						{Color Theme(
							{"Blue to Gray to Red Copy", 4099, {{42, 63, 255}, {192,
							192, 192}, {252, 11, 11}, Missing({0, 0, 160})}, 65, 1}
						), Width(12)}
					)},
					Item ID("weight", 1)
				)
			)}
		)
	)
)
-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: Gradient: color for Missing

Most likely in similar manner as you can modify the gradient (creating custom color theme)

jthi_0-1679564380570.png

jthi_1-1679564412323.png

Graph Builder(
	Include Missing Categories(1),
	Variables(X(:sex), Y(:age), Color(:weight)),
	Elements(Points(X, Y, Legend(10))),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				10,
				Properties(
					0,
					{gradient(
						{Color Theme(
							{"Blue to Gray to Red Copy", 4099, {{42, 63, 255}, {192,
							192, 192}, {252, 11, 11}, Missing({0, 0, 160})}, 65, 1}
						), Width(12)}
					)},
					Item ID("weight", 1)
				)
			)}
		)
	)
)
-Jarmo

Recommended Articles