キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
言語を選択 翻訳バーを非表示
MartinNovak
Level I

Can I change style of smoother line?

I made a Graph with a Graph builder and I would like to adjust the line type of all three lines created with a smoother to "dashed" style.

Capture.PNG

 

Is it possible by editing the script somehow?

I thought I could simply add a linestyle command somewhere, but cannot figure out where.

 

Thank you very much!

 

 

Graph Builder(
	Size( 567, 456 ),
	Show Control Panel( 0 ),
	Variables(
		X( :Time to reach aeration ),
		Y( :Aeration Target ),
		Group Y( :Type filter ),
		Overlay( :Rating )
	),
	Elements(
		Points( X, Y, Legend( 16 ) ),
		Smoother( X, Y, Legend( 19 ), Lambda( 0.0025 ))
	),
	SendToReport(
		Dispatch(
			{},
			"Aeration Target",
			ScaleBox,
			{Scale( "Log" ), Format( "Best", 6 ), Min( 0.1 ),
			Max( 6.30568784413151 ), Inc( 1 ), Minor Ticks( 1 ),
			Label Row( {Show Major Grid( 1 ), Show Minor Grid( 1 )} )}
		),
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				16,
				Base( 0, 0, 0, Item ID( "H13", 1 ) ),
				Base( 1, 0, 0, Item ID( "H14", 1 ) ),
				Base( 2, 0, 0, Item ID( "NA", 1 ) )
			)}
		)
	)
)
 
 

 

 

 

 

 

2 件の受理された解決策

受理された解決策
statman
Super User

Re: Can I change style of smoother line?

I don't know about your script, but if you select the line in Graph Builder and right click on it, you get the option to Customize... select this and you will get the option to change line styles.

Screen Shot 2020-10-05 at 9.23.50 AM.jpg

"All models are wrong, some are useful" G.E.P. Box

元の投稿で解決策を見る

ThuongLe
Level IV

Re: Can I change style of smoother line?

there is script for that, please see below

Graph Builder(
	Size( 528, 448 ),
	Show Control Panel( 0 ),
	Graph Spacing( 3 ),
	Variables( X( :SimulatorDate ), Y( :BinPct ), Overlay( :Plant ) ),
	Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				4,
				Properties(
					1,
					{Line Style( "Dashed" ), Fill Color( 0 )},
					Item ID( "DMT1", 1 )
				)
			)}
		)
	)
);
Thuong Le

元の投稿で解決策を見る

2件の返信2
statman
Super User

Re: Can I change style of smoother line?

I don't know about your script, but if you select the line in Graph Builder and right click on it, you get the option to Customize... select this and you will get the option to change line styles.

Screen Shot 2020-10-05 at 9.23.50 AM.jpg

"All models are wrong, some are useful" G.E.P. Box
ThuongLe
Level IV

Re: Can I change style of smoother line?

there is script for that, please see below

Graph Builder(
	Size( 528, 448 ),
	Show Control Panel( 0 ),
	Graph Spacing( 3 ),
	Variables( X( :SimulatorDate ), Y( :BinPct ), Overlay( :Plant ) ),
	Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				4,
				Properties(
					1,
					{Line Style( "Dashed" ), Fill Color( 0 )},
					Item ID( "DMT1", 1 )
				)
			)}
		)
	)
);
Thuong Le

おすすめの記事