cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
  • New JMP features coming to desktops everywhere this September. Sign up to learn more at jmp.com/launch.
Choose Language Hide Translation Bar
JackGu
Level I

How to use JMP plot circular(wafer position)

Hi all,

Is it possible to use JMP to plot circular data (wafer position) based on the Excel data points provided in the attachment?

please provide me JMP scrip file or Built-in function. Thank you.

 

JackGu_0-1737985282362.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How to use JMP plot circular(wafer position)

I think you have to script that and you cannot directly add legend to graph box

Names Default To Here(1);
nw = New Window("Example",
	H List Box(align("center"),
		Graph Box(
			Frame Size(500, 500),
			XAxis(Min(-175), Max(175), Inc(25), Show Major Grid),
			YAxis(Min(-175), Max(175), Inc(25), Show Major Grid),
			XName("x"),
			YName("y"),
			Pen Size(3);
			Pen Color("Black");
			Circle({0, 0}, 150);
			Pen Color("Red");
			Circle({-1.865, 7.892}, 150);
		),
		Lineup Box(N Col(1),
			H List Box(align("center"),
				Spacer Box(Size(30, 3), Color("Black")),
				Spacer Box(Size(1, 0)),
				Text Box("Black item")
			),
			H List Box(align("center"),
				Spacer Box(Size(30, 3), Color("Red")),
				Spacer Box(Size(1, 0)),
				Text Box("Red item")
			)
		)
	)
);

Write();

jthi_0-1738150192534.png

In Graph Builder you might have some other options

-Jarmo

View solution in original post

9 REPLIES 9
jthi
Super User

Re: How to use JMP plot circular(wafer position)

jthi_1-1737985986405.png

?

Or you can use graphic scripts https://www.jmp.com/support/help/en/18.1/#page/jmp/graphics-functions.shtml?os=win&source=applicatio...

jthi_2-1737986250619.png

Edit: Example script for graph box

Names Default To Here(1);
nw = New Window("Example",
	Graph Box(
		Frame Size(500, 500),
		XAxis(Min(-175), Max(175), Inc(25), Show Major Grid),
		YAxis(Min(-175), Max(175), Inc(25), Show Major Grid),
		XName("x"),
		YName("y"),
		Pen Size(3);
		Pen Color("Black");
		Circle({0, 0}, 150);
		Pen Color("Red");
		Circle({-1.865, 7.892}, 150);
	)
);

 

-Jarmo
JackGu
Level I

Re: How to use JMP plot circular(wafer position)

Hi jthi,

 

Thank you very much for your feedback.

Metod 1:

Could you provide more detail steps for me, I can't plot like you.

JackGu_0-1738044567826.png

 

Metod 2:

The plot appears to be perfect, but I encounter an issue when attempting to add a trend line (Actual position/ Current position). Could you please assist me in resolving this problem? Thank you.

Names Default To Here(1);
nw = New Window("Example",
	Graph Box(
		Frame Size(500, 500),
		XAxis(Min(-175), Max(175), Inc(25), Show Major Grid),
		YAxis(Min(-175), Max(175), Inc(25), Show Major Grid),
		XName("x"),
		YName("y"),
		Pen Size(3);
		Pen Color("Black");
		Circle({0, 0}, 150);
		"100",
			ScaleBox,
			{Legend Model(
				4,
				Properties(
					0,
					{Line Label Properties( {Name Label( 1 )} )},
					Item ID( "Actual position", 1 )
				)
			)},
		Pen Color("Red");
		Circle({-1.865, 7.892}, 150);
		"100",
			ScaleBox,
			{Legend Model(
				4,
				Properties(
					0,
					{Line Label Properties( {Name Label( 1 )} )},
					Item ID( "Real position", 1 )
				)
			)},
	)
);

 

Thank you very mauch.

 

 

 

jthi
Super User

Re: How to use JMP plot circular(wafer position)

In your image, you might have your data in character (or at least nominal/ordinal) format, try changing it to numeric continuous.

-Jarmo
JackGu
Level I

Re: How to use JMP plot circular(wafer position)

Hi jthi,

Thank you for your help,

Solution 1: [Done]

JackGu_0-1738074506090.png

 

Solution 2: 

The plot appears to be perfect, but I encounter an issue when attempting to add a trend line (Actual position/ Current position). Could you please assist me in resolving this problem? 

Where and what command need add in the script as you provide.

 

Thank you very much.

 

Warm Regards,

Jack Gu

jthi
Super User

Re: How to use JMP plot circular(wafer position)

How do you wish to compare them?

-Jarmo
JackGu
Level I

Re: How to use JMP plot circular(wafer position)

Hi jthi, 

 

In Solution 2 (Script Method), I would like to inquire about the process of adding a red circle to denote the "current position" and a black circle to indicate the "actual position" on the plot, as shown in the attached image. Could you please specify the necessary commands and their appropriate placement within the script? Thank you for your assistance.

JackGu_0-1738143519103.png

 

 

Warm Regards,

Jack Gu

jthi
Super User

Re: How to use JMP plot circular(wafer position)

So you wish to have legend not trend line?

-Jarmo
jthi
Super User

Re: How to use JMP plot circular(wafer position)

I think you have to script that and you cannot directly add legend to graph box

Names Default To Here(1);
nw = New Window("Example",
	H List Box(align("center"),
		Graph Box(
			Frame Size(500, 500),
			XAxis(Min(-175), Max(175), Inc(25), Show Major Grid),
			YAxis(Min(-175), Max(175), Inc(25), Show Major Grid),
			XName("x"),
			YName("y"),
			Pen Size(3);
			Pen Color("Black");
			Circle({0, 0}, 150);
			Pen Color("Red");
			Circle({-1.865, 7.892}, 150);
		),
		Lineup Box(N Col(1),
			H List Box(align("center"),
				Spacer Box(Size(30, 3), Color("Black")),
				Spacer Box(Size(1, 0)),
				Text Box("Black item")
			),
			H List Box(align("center"),
				Spacer Box(Size(30, 3), Color("Red")),
				Spacer Box(Size(1, 0)),
				Text Box("Red item")
			)
		)
	)
);

Write();

jthi_0-1738150192534.png

In Graph Builder you might have some other options

-Jarmo
JackGu
Level I

Re: How to use JMP plot circular(wafer position)

Hi jthi,

 Thank you for your assistance. I would like to summarize the solution and provide convenience for others who may encounter the same issue.

Solution 1:

JackGu_1-1738468154832.png

 

JackGu_0-1738468093143.png

 

 

Solution 2:

Names Default To Here(1);
nw = New Window("Example",
	H List Box(align("center"),
		Graph Box(
			Frame Size(500, 500),
			XAxis(Min(-175), Max(175), Inc(25), Show Major Grid),
			YAxis(Min(-175), Max(175), Inc(25), Show Major Grid),
			XName("x"),
			YName("y"),
			Pen Size(3);
			Pen Color("Black");
			Circle({0, 0}, 150);
			Pen Color("Red");
			Circle({-1.865, 7.892}, 150);
		),
		Lineup Box(N Col(1),
			H List Box(align("center"),
				Spacer Box(Size(30, 3), Color("Black")),
				Spacer Box(Size(1, 0)),
				Text Box("Black item")
			),
			H List Box(align("center"),
				Spacer Box(Size(30, 3), Color("Red")),
				Spacer Box(Size(1, 0)),
				Text Box("Red item")
			)
		)
	)
);

Write();

JackGu_2-1738468324082.png

Warm Regards,

Jack Gu

 

Recommended Articles