Get Number of Pages for Current Java Graph
DESCRIPTION:
Return the number of pages in the current Java Graphlet or Java graphics
window.
USAGE:
java.get.number.pages()
VALUE:
an integer value; the number of pages in the current Java Graphlet or Java graphics
window.
SEE ALSO:
,
,
.
EXAMPLES:
# Create a Graphlet containing 2 pages
java.graph(file="mygraphlet.spj", format="SPJ")
plot(corn.rain)
java.set.page.title("Corn")
plot(fuel.frame$Weight, fuel.frame$Mileage)
java.set.page.title("Fuel")
java.get.number.pages()
dev.off()
# Create a Java graphics window having 3 pages
java.graph()
{ plot(1:16, pch=1:16); plot(CO2$uptake, type="l");
plot(state.x91[,2],state.x91[,6],xlab="Income",ylab="HS Graduates") }
java.get.number.pages()