Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arrow up on qhist allows plotting outside of background #173

Open
mariev opened this issue Mar 14, 2012 · 2 comments
Open

arrow up on qhist allows plotting outside of background #173

mariev opened this issue Mar 14, 2012 · 2 comments
Milestone

Comments

@mariev
Copy link
Member

mariev commented Mar 14, 2012

library(cranvas)
data(wages)
fit = lm(lnw~exper+id,data=wages)
wage2=subset(wages,!duplicated(wages$id), c(id, hispanic))

predict wages at year 0 and 6 respectively

wage2$lnw0 = predict(fit, data.frame(id=unique(wages$id), exper=0))
wage2$lnw6 = predict(fit, data.frame(id=unique(wages$id), exper=6))
qwage2=qdata(wage2,color=hispanic)

press arrow up repeatedly to get bars to 'grow' past background area

qhist(lnw0, main = 'Wages on the first day')

@mariev
Copy link
Member Author

mariev commented Mar 14, 2012

the qtour-ex.R example also causes plotting outside background for scatterplot and histogram

@mariev
Copy link
Member Author

mariev commented Mar 14, 2012

zooming for example below also causes plotting outside of background area
library(reshape)
nasaTsCa <- nasa11[,c(6,9,14)]
nasaTsCa[,2:3] <- rescaler(nasaTsCa[,2:3])
nasaTsCa <- melt(nasaTsCa,1)
qnasaTsCa <- qdata(nasaTsCa)
qtime(TimeIndx,~value,qnasaTsCa,group=variable,shift=c(1,12))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant