cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar

Scripters Club Recordings: Drawing Graphical Elements

Topic: Drawing Graphical Elements

Presenters: @thickey1  and @jthi 

 

Video 1: 

 

Most of these different graphical objects/functions can be found in the scripting index under category Graphics:

maria_astals_0-1729154774021.png

Graphics Functions (jmp.com)

And scripting guide Scripting Graphs (jmp.com) 

 

GraphBox will return a reference to DisplayBox[OwnerBox] and FrameBox is somewhere under that

Names Default To Here(1);

New Window("Box Plot Seg Example",   
	g = Graph Box(    
		Frame Size(40, 180),     
		Y Scale(0, 5),     
		Box Plot Seg([1, 2, 3, 4]) 
	)
);

 

maria_astals_1-1729154851182.png

 

You can also use Custom Maps to display the real coordinates. All the different methods do have their pros and cons.

Video 2: 

 

5 REPLIES 5
jthi
Super User

Re: Scripters Club Recordings: Drawing Graphical Elements

My material attached

-Jarmo
AlanBell
Level II

Re: Scripters Club Recordings: Drawing Graphical Elements

Are the scripts and tables working? I can't download. Thanks

jthi
Super User

Re: Scripters Club Recordings: Drawing Graphical Elements

I managed to download them fine 

jthi_0-1729245668233.png

Did you press  jthi_1-1729245698933.png  to download them?

-Jarmo
hogi
Level XII

Re: Scripters Club Recordings: Drawing Graphical Elements

To automate the Seg creation for complicated graphs with multiple frameboxes, is there something like this Frame Box () which will simplify 

Eval(
	Eval Expr(
		Report( obj )[FrameBox( 1 )] <<
		Add Graphics Script(
			p = Expr(Report( obj )[FrameBox( 1 )]);
			mysegs = p << Find Segs( );
)))

to 

Report( obj )[FrameBox( 1 )] <<
Add Graphics Script( mysegs = this frame box() << Find Segs() )

 

hogi
Level XII

Re: Scripters Club Recordings: Drawing Graphical Elements