[R] Y label doesn't show up on printing files

Mohit Dhingra mohitdhingras at gmail.com
Mon Jul 22 12:17:47 CEST 2013


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?


----------------------------
Thanks & Regards
Mohit Dhingra
+919611190435



More information about the R-help mailing list