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
lala
Level IX

Can the X group name text orientation of this Graph Builder be set to vertical?

Thanks!

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
ca="tem";New Column(ca);Column(ca)<<Formula( char(age)||"longlong" );dt<<run formulas;Column(ca)<<deleteFormula;
p1 = dt << Graph Builder(
	Size( 300, 400 ),
	Show Control Panel( 0 ),
	Legend Position( "Inside Bottom Right" ),
	X Group Edge( "Bottom" ),
	Variables( X( :weight ), Y( :height ), Group X( :tem, Size( 161 ) ), Color( :sex ) ),
	Elements( Bar( X, Y, Legend( 5 ), Response Axis( "X" ) ) ),
	SendToReport(
		Dispatch(
			{},
			"weight",
			ScaleBox,
			{Label Row(
				{Automatic Tick Marks( 0 ), Show Major Labels( 0 ), Show Major Ticks( 0 ),
				Show Minor Ticks( 0 )}
			)}
		),
		Dispatch(
			{},
			"height",
			ScaleBox,
			{Label Row(
				{Automatic Tick Marks( 0 ), Show Major Labels( 0 ), Show Major Ticks( 0 ),
				Show Minor Ticks( 0 )}
			)}
		),
		Dispatch( {}, "X title", TextEditBox, {Hide( 1 )} ),
		Dispatch( {}, "Y title", TextEditBox, {Hide( 1 )} )
	)
);

2023-11-10_18-33-33.png

6 REPLIES 6
lala
Level IX

回复: Can the X group name text orientation of this Graph Builder be set to vertical?

  • It's not perfect

2023-11-10_18-47-53.png

jthi
Super User

Re: Can the X group name text orientation of this Graph Builder be set to vertical?

Seems like only Y Group has an option to change the level orientation

jthi_0-1699621194172.png

 

-Jarmo
lala
Level IX

Re: Can the X group name text orientation of this Graph Builder be set to vertical?

Thanks!

 

If there are too many categories of X, can you add a slider to adjust the range of data that needs to be mapped?
I used this option in JMP 14, changing the parameters so that only the left one appears

2023-11-10_21-33-37.png

jthi
Super User

Re: Can the X group name text orientation of this Graph Builder be set to vertical?

jthi_0-1699629451711.png

 

-Jarmo
lala
Level IX

Re: Can the X group name text orientation of this Graph Builder be set to vertical?

A slider such as data can change the scope of the selection, and can also change the number of rows selected.

2023-11-11_11-09-49.png

jthi
Super User

Re: Can the X group name text orientation of this Graph Builder be set to vertical?

You can most likely use Local Data Filter for that

-Jarmo

Recommended Articles