Hmm...I dunno. Here is another dput(), I might have changed something
but don't remember. Thanks for the tip about coord_cartesian(). It
works well except that the wise=T argument gives an error. The code is
below along with the error.
structure(list(Sample = structure(c(1L, 6L, 7L, 8L, 9L, 10L,
11L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 20L, 21L, 22L, 23L,
24L), .Label = c("1014", "14185", "14207", "14356", "14538",
"3159", "3185", "3186", "3189", "3194", "3197", "3198", "3204",
"3206", "3207", "3234", "3245", "3247", "3252", "3253", "3316",
"3331", "3337", "3346", "3354", "3371", "3372", "3380", "4002",
"4005", "4025", "4047", "4074", "4080", "4101", "4102", "4105",
"4110", "4112", "4115", "4129", "4131", "4146", "4150", "4153",
"4155", "4160", "4172", "4197", "4202", "4211", "4215", "4216",
"4234", "4238", "5036", "5038", "5044", "5068", "5071", "5072",
"5076", "5094", "5097", "5115", "5132", "5133", "5135", "5137",
"5159", "6009", "6026", "6044", "6045", "6048", "6048_1", "6052",
"6063", "6071", "6091", "6113", "6129", "6153", "m0821", "m0822",
"m0865", "M0934", "m0951", "m1015", "m1072", "m1075", "m1077",
"m1093", "m1101", "m1110", "m1120", "m1127", "m1129", "m1144",
"m1176", "m1381", "m2252", "m2265", "m2266", "m2272", "m2279",
"m2579", "m2617", "m2661", "m2675", "m2691", "m2693", "m2710",
"m2716", "m2721", "m2728", "m2731", "m2736", "m2737", "m2742"
), class = "factor"), NatalSrRatio = c(0.7120146, 0.7104905,
0.7098242, 0.71003, 0.7092242, 0.7136741, 0.7127432, 0.7097907,
0.7125423, 0.7086233, 0.7128441, 0.7146446, 0.7097369, 0.7088942,
0.7098599, 0.7140441, 0.7091814, 0.7096137, 0.7095837, 0.7103869
), RearSrRatio = c(0.7140476, 0.7102578, 0.7101535, 0.710548,
0.7102841, 0.714541, 0.715124, 0.7099535, 0.7129941, 0.7099142,
0.7099159, 0.7146446, 0.7099941, 0.7097307, 0.7102079, 0.7140441,
0.709784, 0.7096137, 0.7102163, 0.7134733), OWSrRatio =
c(0.710207081,
0.709757723, 0.709349432, NA, 0.710008946, 0.70934427, NA, NA,
0.71011365, NA, 0.710591332, 0.709854152, 0.709440048, 0.710810299,
NA, 0.709876241, 0.709730724, NA, NA, 0.709991373), NatalClass =
structure(c(2L,
3L, 3L, 3L, 3L, 2L, 2L, 3L, 2L, 4L, 2L, 2L, 3L, 4L, 3L, 2L, 3L,
3L, 3L, 3L), .Label = c("CRB", "CWS", "LSK", "USK"), class =
"factor")), .Names = c("Sample",
"NatalSrRatio", "RearSrRatio", "OWSrRatio", "NatalClass"), row.names =
c(NA,
20L), class = "data.frame")
> Parallel_Plot + theme_bw()
+ scale_colour_manual(value = c("CWS"="#3C6D00", "LSK"="#007F85",
"USK"="#8D26C8", "CRB"="#AE3121"), breaks = c("CWS", "LSK",
"USK","CRB"), name = "Classification", labels = c("\nClearwater,
\nSalmon\n", "\nLower-\nSnake\n", "\nUpper-\nSnake\n", "\nTucannon,
\nGrande Ronde,\nImnaha\n"))
+ coord_cartesian(ylim=c(0.705, 0.716), wise=T) +
opts(panel.background=theme_rect(size=1) ,
+ axis.text.y=theme_text(size=14, face="bold", hjust=.9),
axis.text.x=theme_text(hjust=.5, vjust=.75, size=12, face="bold"),
+ plot.title=theme_text(hjust=.8, vjust = .8, face="bold", size=20),
+ axis.title.y=theme_text(face="bold", size=16, angle=90, hjust=.3),
+ axis.title.x=theme_text(face="bold", size=16, vjust=-0.5),
+ axis.ticks=theme_segment(colour = "black", size=1),
+ panel.grid.minor=theme_blank() )
Error in get("new", env = CoordCartesian, inherits = TRUE)
(CoordCartesian, :
unused argument(s) (wise = TRUE)