cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • See how to interactively organize and restructure data for analysis. Register for May 29 webinar, 2pm US ET.

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