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
tcoates
Level I

how do i Change X and Y border thickness on graph in graph builder

I want to change the thickness of the left (Y) and bottom (X) axis on a plot. 

 

I cannot believe there is not a dialog to change the axis thickness and color.     I can change any line i want EXCEPT the axis border.  When i put the image into powerpoint, the axis lines are too thin to see.    This is really nuts .. i am literally two hours into searches to find and answer.  one poor Youtuber suggested adding a reference line at 0,0 !!!  

 

I would appreciate your help.  

 

Best

 

Tom 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: how do i Change X and Y border thickness on graph in graph builder

(I think this might require JMP17 and hopefully this gets better in JMP18) Use Properties button to open properties for your graph, select axisbox and modify the width

jthi_0-1704187743130.png

jthi_2-1704187918750.png

This does seem to be a bit buggy though, what I did was to disable stretching, set the line width to 20, press enter and re-enable stretching. JMP is able to capture this as a script BUT I would consider that it hasn't been yet implemented properly in JMP17.2 as there is no proper documentation in Scripting Index

jthi_3-1704188022649.png

 

Graph Builder(
	Size(541, 908),
	Show Control Panel(0),
	Variables(X(:weight), Y(:height)),
	Elements(Points(X, Y, Legend(3)), Smoother(X, Y, Legend(4))),
	SendToReport(
		Dispatch({}, "weight", ScaleBox, {Label Row(Line Width(20))}),
		Dispatch({}, "height", ScaleBox, {Label Row(Line Width(50))})
	)
)

Other options could be reference line OR using graphic script

-Jarmo

View solution in original post

3 REPLIES 3
jthi
Super User

Re: how do i Change X and Y border thickness on graph in graph builder

(I think this might require JMP17 and hopefully this gets better in JMP18) Use Properties button to open properties for your graph, select axisbox and modify the width

jthi_0-1704187743130.png

jthi_2-1704187918750.png

This does seem to be a bit buggy though, what I did was to disable stretching, set the line width to 20, press enter and re-enable stretching. JMP is able to capture this as a script BUT I would consider that it hasn't been yet implemented properly in JMP17.2 as there is no proper documentation in Scripting Index

jthi_3-1704188022649.png

 

Graph Builder(
	Size(541, 908),
	Show Control Panel(0),
	Variables(X(:weight), Y(:height)),
	Elements(Points(X, Y, Legend(3)), Smoother(X, Y, Legend(4))),
	SendToReport(
		Dispatch({}, "weight", ScaleBox, {Label Row(Line Width(20))}),
		Dispatch({}, "height", ScaleBox, {Label Row(Line Width(50))})
	)
)

Other options could be reference line OR using graphic script

-Jarmo
tcoates
Level I

Re: how do i Change X and Y border thickness on graph in graph builder

Thanks a million ..  it would have been IMPOSSIBLE to figure this out ..  

disableing stretching is critical here .. this doesnt work otherwise.    This seems strange.

 

Also, when you select "show properties" the axix box does not appear unless or until you click over the axis in question.    

 

I agree this is buggy ..  my graph has 5 panels wtih different Y axis and one X .. i had to repeat for all panels separately, couldnt seem to select all and apply the axis modification.  but this is minor ...

 

Again, thanks for the help ..  and the quick response.

 

Tom.  

hogi
Level XII

Re: how do i Change X and Y border thickness on graph in graph builder

Actually, it is a feature that the properties pane adjust automatically to the selected item. This keeps the list short while allowing the user to change >everything< interactively.

 

Concerning "change": As Jarmo indicated, this will be fixed in Jmp 18
How to apply changed properties to the Report? 

 

By the way:

Via << xpath you can ask the Graph Builder object for all "recipients" and then send the command to the whole list:

Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
gb = dt << Graph Builder(
	Variables( X( :height ), Y( :weight ), Overlay( :sex ) ),
	Elements( Points( X, Y ), Smoother( X, Y ) )
);
	
scaleBoxes= gb << xpath("//ScaleBox");
scaleBoxes << {Label Row(Line Width(20))};