cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
Shelly
Level I

Is it possible to just make one category bold in a graph if there are several categories in the x-axis?

1 ACCEPTED SOLUTION

Accepted Solutions
vince_faller
Super User (Alumni)

Re: Is it possible to just make one category bold in a graph if there are several categories in the x-axis?

I'm going to assume you're doing an anova.  But I was able to fake it by putting a 0 line width reference line at the spot where I wanted it, then you can do whatever you want to the font.  

 

Names default to here( 1 );
dt = open("$SAMPLE_DATA\Big Class.jmp");
dt << Oneway(
	Y( :height ),
	X( :age ),
	SendToReport(
		Dispatch(
			{},
			"2",
			ScaleBox,
			{Add Ref Line(
				21,
				"Solid",
				"Black",
				"14",
				0,
				1,
				Label Settings( {Set Font Style( "Bold" )} )
			)}
		)
	)
);

I got the number 21 from inside the value labels of the axis.  

 

vince_faller_0-1631054608056.png

 

Vince Faller - Predictum

View solution in original post

2 REPLIES 2
vince_faller
Super User (Alumni)

Re: Is it possible to just make one category bold in a graph if there are several categories in the x-axis?

I'm going to assume you're doing an anova.  But I was able to fake it by putting a 0 line width reference line at the spot where I wanted it, then you can do whatever you want to the font.  

 

Names default to here( 1 );
dt = open("$SAMPLE_DATA\Big Class.jmp");
dt << Oneway(
	Y( :height ),
	X( :age ),
	SendToReport(
		Dispatch(
			{},
			"2",
			ScaleBox,
			{Add Ref Line(
				21,
				"Solid",
				"Black",
				"14",
				0,
				1,
				Label Settings( {Set Font Style( "Bold" )} )
			)}
		)
	)
);

I got the number 21 from inside the value labels of the axis.  

 

vince_faller_0-1631054608056.png

 

Vince Faller - Predictum
Shelly
Level I

Re: Is it possible to just make one category bold in a graph if there are several categories in the x-axis?

Thank you!