Skip to content

Commit

Permalink
fix plot scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
philchalmers committed Mar 2, 2017
1 parent 58cdd8f commit 6169f03
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions R/itemplot.internal.R
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,6 @@ itemplot.main <- function(x, item, type, degrees, CE, CEalpha, CEdraws, drop.zer
if(is.null(main))
main <- paste("Item", item, "Expected Scores")
return(wireframe(score ~ Theta1 + Theta2, data = plt, main = main,
ylim=c(ymin_score-ybump, ymax_score+ybump),
zlab=expression(E(theta)), xlab=expression(theta[1]), ylab=expression(theta[2]),
zlim = c(min(floor(plt$score)), max(ceiling(plt$score))),scales = list(arrows = FALSE),
colorkey = colorkey, drape = drape, screen=rot, ...))
Expand Down Expand Up @@ -446,7 +445,6 @@ itemplot.main <- function(x, item, type, degrees, CE, CEalpha, CEdraws, drop.zer
if(is.null(main))
main <- paste("Item", item, "Expected Scores")
return(wireframe(score ~ Theta1 + Theta2|Theta3, data = plt, main = main,
ylim=c(ymin_score-ybump, ymax_score+ybump),
zlab=expression(E(theta)), xlab=expression(theta[1]), ylab=expression(theta[2]),
zlim = c(min(floor(plt$score)), max(ceiling(plt$score))),scales = list(arrows = FALSE),
colorkey = colorkey, drape = drape, screen=rot, ...))
Expand Down

0 comments on commit 6169f03

Please sign in to comment.