From 4e4a71ed991c90f11d29a0e2e73e6cf1cc57bb5f Mon Sep 17 00:00:00 2001 From: caes Date: Tue, 18 Apr 2017 05:46:05 -0400 Subject: [PATCH] turned in lab 5 --- xrd/plots.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xrd/plots.R b/xrd/plots.R index 977ef02..742ef25 100644 --- a/xrd/plots.R +++ b/xrd/plots.R @@ -4,7 +4,7 @@ grease_count = read.table("grease.tab") plastic_count = read.table("plastic.tab") wood_count = read.table("wood.tab") -plot(x=x,y=plastic_count[,1],pch='-',log="x",ylab=expression(count),xlab=expression(2~theta~degree~")"),xlim=c(12,55)) +plot(x=x,y=plastic_count[,1],pch='-',log="x",ylab=expression(count),xlab=expression(2~theta~degree),xlim=c(12,55)) abline(v=42.5) axis(3,at=42.5) abline(v=30.5) @@ -17,7 +17,7 @@ dev.print(pdf,"../report/plastic_peaks.pdf",width=3,height=3) -plot(x=x,y=grease_count[,1],pch='-',log="x",ylab=expression(count),xlab=expression(2~theta~degree~")")) +plot(x=x,y=grease_count[,1],pch='-',log="x",ylab=expression(count),xlab=expression(2~theta~degree)) abline(v=12) axis(3,at=12) abline(v=22) @@ -25,7 +25,7 @@ axis(3,at=22) dev.print(pdf,"../report/grease_peaks.pdf",width=3,height=3) -plot(x=x,y=wood_count[,1],pch='-',log="x",ylab=expression(count),xlab=expression(2~theta~degree~")"),xlim=c(15,55)) +plot(x=x,y=wood_count[,1],pch='-',log="x",ylab=expression(count),xlab=expression(2~theta~degree),xlim=c(15,55)) abline(v=16) axis(3,at=16) abline(v=22.5)