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

Can remove the background color of the picture with JSL?

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
p1 = dt << Graph Builder(
	Size( 528, 456 ),
	Show Control Panel( 0 ),
	Variables( X( :weight ), Y( :height ), Color( :sex ) ),
	Elements( Bar( X, Y, Legend( 5 ), Response Axis( "X" ) ) )
);

Thanks!

2023-12-01_12-10-14.png

 

5 REPLIES 5
lala
Level VIII

回复: Can remove the background color of the picture with JSL?

to

2023-12-01_12-10-14.png

lala
Level VIII

回复: Can remove the background color of the picture with JSL?

2023-12-01_12-19-05.png

jthi
Super User

Re: Can remove the background color of the picture with JSL?

You might have to enable this setting from preferences (Transparent background for report PNG images)

jthi_0-1701448849119.png

 

-Jarmo
hogi
Level XII

Re: Can remove the background color of the picture with JSL?

I fear that enabling "Transparent background" in the Preferences just removes the background surrounding the Graph region.

 

There is a wish by @Craige_Hales to remove the background of the graph as well:
Transparent background color for graphs 

lala
Level VIII

Re: Can remove the background color of the picture with JSL?

I saw this post earlier.I was wondering if JMP would not be required to directly generate a transparent background image, but JSL could remove the white from ordinary images, just like Photoshop.

 

Thanks!