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
%3CLINGO-SUB%20id%3D%22lingo-sub-51812%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9C%96%E9%87%8D%E8%A4%87%E6%B8%AC%E9%87%8FANOVA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-51812%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E5%97%A8%EF%BC%8C%E6%88%91%E6%AD%A3%E5%9C%A8%E9%80%B2%E8%A1%8C%E9%87%8D%E8%A4%87%E6%B8%AC%E9%87%8F%E5%88%86%E6%9E%90%EF%BC%8C%E5%90%8C%E6%99%82%E4%BD%BF%E5%85%B6%E4%B8%AD%E4%B8%80%E5%80%8B%E8%AE%8A%E9%87%8F%E7%9A%84%E5%9C%96%E8%A1%A8%E5%8D%A1%E4%BD%8F%E4%BA%86%E3%80%82%E5%9B%A0%E6%AD%A4%EF%BC%8C%E8%A9%B2%E5%9C%96%E5%9C%A8X%E8%BB%B8%EF%BC%88%E6%A8%99%E7%A8%B1%E5%80%BC%EF%BC%89%E4%B8%8A%E5%85%B7%E6%9C%89%E7%B5%84%E8%AE%8A%E9%87%8F%EF%BC%8C%E4%B8%A6%E4%B8%94Y%E8%BB%B8%E5%9C%A84%E5%80%8B%E4%B8%8D%E5%90%8C%E6%99%82%E9%96%93%E9%BB%9E%E5%85%B7%E6%9C%894%E5%80%8BDNA%E5%80%BC%EF%BC%88%E9%80%A3%E7%BA%8C%EF%BC%89%E3%80%82%E6%88%91%E5%BE%97%E5%88%B0%E7%9A%84%E5%9C%96%E5%BD%A2%E6%95%B4%E6%BD%94%E8%80%8C%E4%B8%94%E5%BE%88%E5%A5%BD%E4%BD%86%E6%98%AFx%E8%BB%B8%E5%88%86%E5%88%A5%E9%A1%AF%E7%A4%BA%E4%BA%86%E5%85%A9%E5%80%8B%E7%B5%84%E7%9A%84%E5%80%BC%EF%BC%8C%E8%80%8C%E6%88%91%E6%83%B3%E8%A6%81%E5%AE%83%E5%80%91%E4%B8%A6%E6%8E%92%E3%80%82%E4%BE%8B%E5%A6%82%EF%BC%8C%E7%AC%AC0%E5%A4%A9DNA%E5%85%A9%E5%80%8B%E7%B5%84%E5%90%88%E5%9C%A8%E4%B8%80%E8%B5%B7%EF%BC%8C%E7%AC%AC4%E5%A4%A9DNA%E5%85%A9%E5%80%8B%E7%B5%84%E5%90%88%E5%9C%A8%E4%B8%80%E8%B5%B7%EF%BC%88%E4%B8%A6%E6%8E%92%EF%BC%89%E4%BD%86%E9%A1%AF%E7%84%B6%E5%B7%B2%E7%B6%93%E5%98%97%E8%A9%A6%E4%BA%86%E4%B8%80%E5%88%87%EF%BC%8C%E4%BD%86%E7%84%A1%E6%B3%95%E5%BC%84%E6%B8%85%E6%A5%9A%E5%A6%82%E4%BD%95%E5%81%9A%E5%88%B0%E9%80%99%E4%B8%80%E9%BB%9E%E3%80%82%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-52373%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%EF%BC%9A%E5%9C%96%E9%87%8D%E8%A4%87%E6%B8%AC%E9%87%8FANOVA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-52373%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E6%88%91%E5%9C%A8%E7%8C%9C%E6%B8%AC%EF%BC%8C%E4%BD%86%E6%88%91%E8%AA%8D%E7%82%BA%E6%82%A8%E6%AD%A3%E5%9C%A8%E5%98%97%E8%A9%A6%E4%BD%BF%E7%94%A8Graph%20Builder%E7%B9%AA%E8%A3%BD%E7%B5%90%E6%9E%9C%E5%9C%96%E3%80%82%26nbsp%3B%20%E5%A6%82%E6%9E%9C%E6%98%AF%E9%80%99%E6%A8%A3%EF%BC%8C%E6%88%91%E7%9F%A5%E9%81%93%E7%8D%B2%E5%BE%97%E6%89%80%E9%9C%80%E7%B5%90%E6%9E%9C%E7%9A%84%E5%94%AF%E4%B8%80%E6%96%B9%E6%B3%95%E6%98%AF%E5%9C%A8%E6%95%B8%E6%93%9A%E8%A1%A8%E4%B8%AD%E6%B7%BB%E5%8A%A0%E7%AC%AC%E4%BA%8C%E5%80%8BX%E5%88%97%EF%BC%8C%E8%A9%B2%E5%88%97%E9%A1%AF%E7%A4%BA%E7%AC%AC%E4%BA%8C%E7%B5%84X%E5%80%BC%E3%80%82%26nbsp%3B%20%E5%A6%82%E6%9E%9C%E6%9C%89%E5%96%AE%E7%8D%A8%E7%9A%84%E5%88%97%EF%BC%8CGraph%20Builder%E5%B0%87%E5%83%85%E6%8F%90%E4%BE%9B%E5%96%AE%E7%8D%A8%E7%9A%84%E8%BB%B8%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20933px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Double.PNG%22%20style%3D%22width%3A%20933px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F9647i779300DBB49E0C63%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Double.PNG%22%20alt%3D%22Double.PNG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%E5%9C%A8%E8%A9%B2%E7%A4%BA%E4%BE%8B%E4%B8%AD%EF%BC%8C%E5%B0%87Y%E8%BB%B8%E6%8B%96%E5%8B%95%E5%88%B0Y%E6%8B%96%E6%94%BE%E5%8D%80%E5%9F%9F%EF%BC%8C%E7%84%B6%E5%BE%8C%E5%B0%872%E5%80%8BX%E8%BB%B8%E8%AE%8A%E9%87%8F%E4%B8%80%E6%AC%A1%E6%8B%96%E5%8B%95%E5%88%B0X%E8%BB%B8%E6%8B%96%E6%94%BE%E5%8D%80%E5%9F%9F%EF%BC%8C%E5%B0%87%E5%AE%83%E5%80%91%E4%B8%A6%E6%8E%92%E6%94%BE%E7%BD%AE%E3%80%82%26nbsp%3B%20%E4%B8%8B%E9%9D%A2%E6%98%AF%E7%94%9F%E6%88%90%E4%B8%8A%E5%9C%96%E7%9A%84%E8%85%B3%E6%9C%AC%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%0A%0A%2F%2F%20Sample%20Data%0Adt%20%3D%20New%20Table(%20%22Example%22%2C%0A%20Add%20Rows(%2040%20)%2C%0A%20New%20Column(%20%22Group%201%22%2C%0A%20%20Character(%207%20)%2C%0A%20%20%22Nominal%22%2C%0A%20%20Set%20Values(%0A%20%20%20%7B%22A%22%2C%20%22A%22%2C%20%22A%22%2C%20%22A%22%2C%20%22A%22%2C%20%22B%22%2C%20%22B%22%2C%20%22B%22%2C%20%22B%22%2C%20%22B%22%2C%20%22Control%22%2C%20%22Control%22%2C%20%22Control%22%2C%0A%20%20%20%22Control%22%2C%20%22Control%22%2C%20%22Placebo%22%2C%20%22Placebo%22%2C%20%22Placebo%22%2C%20%22Placebo%22%2C%20%22Placebo%22%2C%20%22%22%2C%20%22%22%2C%0A%20%20%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%7D%0A%20%20)%0A%20)%2C%0A%20New%20Column(%20%22BP%208M%22%2C%0A%20%20Numeric%2C%0A%20%20%22Continuous%22%2C%0A%20%20Format(%20%22Fixed%20Dec%22%2C%204%2C%200%20)%2C%0A%20%20Set%20Values(%0A%20%20%20%5B182.595915155309%2C%20172.512940709438%2C%20180.774421425438%2C%20180.620679187184%2C%0A%20%20%20184.202187190097%2C%20171.439595422176%2C%20174.589230394192%2C%20179.109260746268%2C%0A%20%20%20177.787439187438%2C%20180.687489407623%2C%20181.804016028632%2C%20178.085353285743%2C%0A%20%20%20186.313144806757%2C%20175.347853139956%2C%20181.103289178403%2C%20181.288352739913%2C%0A%20%20%20178.777832744608%2C%20176.763152449944%2C%20175.768608854708%2C%20184.167672392284%2C%0A%20%20%20173.550216520736%2C%20180.718560564297%2C%20188.500473854652%2C%20176.718084823659%2C%0A%20%20%20180.174755903154%2C%20181.462075626649%2C%20180.330100756984%2C%20172.886222586229%2C%0A%20%20%20192.050244302843%2C%20187.037431530346%2C%20185.501158177984%2C%20183.877324525276%2C%0A%20%20%20179.931613365546%2C%20180.493132509235%2C%20174.944992509985%2C%20177.663853371957%2C%0A%20%20%20174.717037207769%2C%20186.677919707096%2C%20178.12326354079%2C%20171.230704316198%5D%0A%20%20)%0A%20)%2C%0A%20New%20Column(%20%22Group%202%22%2C%0A%20%20Character%2C%0A%20%20%22Nominal%22%2C%0A%20%20Set%20Values(%0A%20%20%20%7B%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22A%22%2C%0A%20%20%20%22A%22%2C%20%22A%22%2C%20%22A%22%2C%20%22A%22%2C%20%22A%22%2C%20%22A%22%2C%20%22A%22%2C%20%22A%22%2C%20%22A%22%2C%20%22Control%22%2C%20%22Control%22%2C%20%22Control%22%2C%0A%20%20%20%22Control%22%2C%20%22Control%22%2C%20%22Placebo%22%2C%20%22Placebo%22%2C%20%22Placebo%22%2C%20%22Placebo%22%2C%20%22Placebo%22%7D%0A%20%20)%0A%20)%0A)%3B%0A%0A%2F%2F%20Graph%20Script%0AGraph%20Builder(%0A%20Variables(%20X(%20%3AGroup%201%20)%2C%20X(%20%3AGroup%202%20)%2C%20Y(%20%3ABP%208M%20)%20)%2C%0A%20Elements(%20Position(%201%2C%201%20)%2C%20Points(%20X%2C%20Y%2C%20Legend(%204%20)%20)%20)%2C%0A%20Elements(%20Position(%202%2C%201%20)%2C%20Points(%20X%2C%20Y%2C%20Legend(%205%20)%20)%20)%0A)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-52302%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%EF%BC%9A%E5%9C%96%E9%87%8D%E8%A4%87%E6%B8%AC%E9%87%8FANOVA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-52302%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E4%BD%A0%E4%BD%BF%E7%94%A8%E5%93%AA%E5%80%8B%E5%9C%96%E5%BD%A2%E5%B9%B3%E5%8F%B0%EF%BC%9F%3C%2FP%3E%0A%3CP%3E%E5%8F%A6%E5%A4%96%EF%BC%8C%E5%B0%87%E6%95%B8%E6%93%9A%E7%B9%AA%E8%A3%BD%E7%82%BAANOVA%EF%BC%8Cx%E8%BB%B8%E4%B8%8A%E7%9A%84%E5%85%A9%E5%80%8B%E8%AE%8A%E9%87%8F%E5%BF%85%E9%A0%88%E6%98%AF%E6%A8%99%E7%A8%B1%E5%80%BC%E3%80%82%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
QS
QS
Level I

Graphs repeated measures ANOVA

Hi, I am doing a repeated measures analysis and while making the graphs for one of the variables got stuck. So this graph has a group variable on the X axis(nominal) and the Y axis has 4 values of DNA (continuous) at 4 different time points. I got the graph neat and nice but the x axis shows values for both groups separately while I want them side by side. e.g. day 0 DNA both groups together, Day 4 DNA both groups together (side by side) but apparantly have tried everything but can't figure out how to do it.

 

 

2 REPLIES 2
Byron_JMP
Staff

Re: Graphs repeated measures ANOVA

which graph platform are you using?

also, plotting the data as an ANOVA, the both variables on the x-axis must be nominal. 

JMP Systems Engineer, Health and Life Sciences (Pharma)
txnelson
Super User

Re: Graphs repeated measures ANOVA

I am making a guess, but I think you are trying to graph your results using Graph Builder.  If so, the only way that I know of to get the result you need is to add a second X column into your data table, which shows the second group of X values.  Graph Builder will only provide separate axes if there are separate columns.

Double.PNG

In the example, drag the Y axis to the Y drop area, and then drag the 2 X axis variables one at a time to the X axis drop area, placing them side by side.  Below is the script that produces the above graph

Names Default To Here( 1 );

// Sample Data
dt = New Table( "Example",
	Add Rows( 40 ),
	New Column( "Group 1",
		Character( 7 ),
		"Nominal",
		Set Values(
			{"A", "A", "A", "A", "A", "B", "B", "B", "B", "B", "Control", "Control", "Control",
			"Control", "Control", "Placebo", "Placebo", "Placebo", "Placebo", "Placebo", "", "",
			"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""}
		)
	),
	New Column( "BP 8M",
		Numeric,
		"Continuous",
		Format( "Fixed Dec", 4, 0 ),
		Set Values(
			[182.595915155309, 172.512940709438, 180.774421425438, 180.620679187184,
			184.202187190097, 171.439595422176, 174.589230394192, 179.109260746268,
			177.787439187438, 180.687489407623, 181.804016028632, 178.085353285743,
			186.313144806757, 175.347853139956, 181.103289178403, 181.288352739913,
			178.777832744608, 176.763152449944, 175.768608854708, 184.167672392284,
			173.550216520736, 180.718560564297, 188.500473854652, 176.718084823659,
			180.174755903154, 181.462075626649, 180.330100756984, 172.886222586229,
			192.050244302843, 187.037431530346, 185.501158177984, 183.877324525276,
			179.931613365546, 180.493132509235, 174.944992509985, 177.663853371957,
			174.717037207769, 186.677919707096, 178.12326354079, 171.230704316198]
		)
	),
	New Column( "Group 2",
		Character,
		"Nominal",
		Set Values(
			{"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A",
			"A", "A", "A", "A", "A", "A", "A", "A", "A", "Control", "Control", "Control",
			"Control", "Control", "Placebo", "Placebo", "Placebo", "Placebo", "Placebo"}
		)
	)
);

// Graph Script
Graph Builder(
	Variables( X( :Group 1 ), X( :Group 2 ), Y( :BP 8M ) ),
	Elements( Position( 1, 1 ), Points( X, Y, Legend( 4 ) ) ),
	Elements( Position( 2, 1 ), Points( X, Y, Legend( 5 ) ) )
);
Jim