假设我们有一组数据,设置为时间(Ms)和相关的值。现在,我想慢慢地画出点,这样散点图中的X1,Y1就会显示出来,然后在一些延迟之后,下一个点,等等。在这条线上,我们希望有一条垂直线,它将过渡到我们在单位时间内绘制的图形中的每个点。
下面是一个使用jqplot的示例:
rendererOptions: {
// Speed up the animation a little bit.
// This is a number of milliseconds.
// Default for ba
考虑下面的格示例:
library(lattice)
x <- c(1:10, 1:10)
y <- c(10:1, 10:1)
z <- c(1:10, seq(1,20, by=2))
a = c(rep("one",10),rep("two",10))
DF <- data.frame(x, y, z, a)
xyplot(y ~ x | a, groups = z < 5, data = DF, col = c("black", "red"),
pch=20, cex=0.3)
我的问题