Displaying 1 result from an estimated 1 matches for "saveplottesta".
Did you mean:
saveplottestb
2011 Jun 23
1
Saved EPS does not match screen when using bquote(.(i))
...ases below. Very strange. Any
clues as to why?
#---------------- begin -------------------
# Version A. X axis labels have subscripts as constants. EPS is correct.
windows()
layout( matrix( 1:2 , nrow=2 ) )
plot( 0 , 0 , xlab=bquote(mu[1]) )
plot( 0 , 0 , xlab=bquote(mu[2]) )
savePlot( file="SavePlotTestA.eps" , type="eps" ) # Axis labels are correct
in EPS.
# Version B. X axis labels have subscripts as variable index. EPS is wrong!
windows()
layout( matrix( 1:2 , nrow=2 ) )
for ( i in 1:2 ) {
plot( 0 , 0 , xlab=bquote(mu[.(i)]) )
}
savePlot( file="SavePlotTestB.eps" , ty...