The following is a more detailed Graph Builder script that creates a bar chart: dt = Open( "$SAMPLE_DATA/Big Class.jmp" ) dt << Graph Builder( Size( 373, 332 ), Show Control Panel( 0 ), Variables( X( :age ), Y( :weight ), Y( Transform Column( "weight25", Formula( Col Quantile( :weight, 0.25, :age ) ) ), Position( 1 ) /* By default each Y variable gets its own axis, but the Position(1) option keeps each additional Y in the first slot and merges the axes. The following is an example of a simple Graph Builder script that creates a bar chart: dt = Open( "$SAMPLE_DATA/Big Class.jmp" ) dt << Graph Builder (Variables( X( :age ), Y( :weight ) ), Elements( Bar( X, Y, Legend( 8 ) ) ) // Legend is not required, but provides an internal legend ID that you can use for later customization ) ), // Use any display customizations here - Data Filter is an example ) ), //Required Elements( element name( element options. The following is an example of the basic structure of a Graph Builder script: Graph Builder( Size( x, y ), // Use any commands from the red triangle menu - Size is an example Variables( role( column ).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |