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

Mohit Dhingra mohitdhingras at gmail.com
Wed Jul 24 13:14:38 CEST 2013


Hi David,

Thanks for your reply! How do I exactly find it out and solve? Also,
the problem is not reproducible every time :-/
----------------------------
Thanks & Regards
Mohit Dhingra
+919611190435


On 22 July 2013 23:55, David Winsemius <dwinsemius at comcast.net> wrote:
>
> 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