Plotting in black and white?

56 views
Skip to first unread message

Guido

unread,
Jan 28, 2022, 4:19:54 AM1/28/22
to mirt-package
Hello,

Based on previous posts I have succeed in printing trace lines in black and white. However, all the variables names background color still remain in a color for the type ='trace' plot. 
How can I fix this? For publication purposes I need black and white figures...

theme <- simpleTheme(lty=1:5, col='black')

# Plot is in black and white except for the background color of the labels on top on each 'mini plot'.
plot(grm, type = "trace",par.settings=theme)

# Whole plot is black and white, so here it works
plot(grm, type = "infoSE", theta_lim = c(-3, 3),par.settings=theme)

thx!

Guido

Guido

unread,
Jan 30, 2022, 8:16:21 AM1/30/22
to mirt-package
I already found the solution....


bwtheme <- standard.theme("pdf", color=FALSE)
plot(grm, type='trace', par.settings=bwtheme)

Reply all
Reply to author
Forward
0 new messages