[R] Y label doesn't show up on printing files
David Winsemius
dwinsemius at comcast.net
Mon Jul 22 20:25:15 CEST 2013
On Jul 22, 2013, at 3:17 AM, Mohit Dhingra wrote:
> Hello,
>
> I'm using R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows" .
>
> System info: Linux ubuntu 3.5.0-36-generic #57~precise1-Ubuntu SMP Thu
> Jun 20 18:21:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux.
>
> When I plot something, y label does show up on the pop up image.
> plot (x, rtimel[,2] , xlab="Memory Allocated (in MB)", ylab="Response
> Time (in ms)", type="l", col="black", ylim=c(0,m) )
>
> But when I try to save it using
> dev.copy(pdf,'response_time_with_memory_direct.pdf')
> dev.off()
>
> Y-label doesn't get printed on the pdf file. Can someone please help?
Perhaps a difficulty with the fonts in your R installation being different than the fonts in your pdf viewer?
--
David Winsemius
Alameda, CA, USA
More information about the R-help
mailing list