Re: [R] cannot see the y-labels (getting cut-off)

2010-11-15 Thread P Ehlers

jim holtman wrote:

increase the margins on the plot:


par(mar=c(4,7,2,1))
plot(1:5,y,ylab='',yaxt='n' );
axis(2, at=y, labels=formatC(y,big.mark=,,format=fg),las=2,cex=0.1);



That's what I would do, but if you want to see how cex works,
use cex.axis=0.5. Check out ?par.

  -Peter Ehlers



On Sun, Nov 14, 2010 at 6:03 PM,
sachinthaka.abeyward...@allianz.com.au wrote:

Hi All,

When I run the following code, I cannot see the entire number. As opposed
to seeing 1,000,000,000. I only see 000,000 because the rest is cut off.

The cex option doesn't seem to be doing anything at all.

y-seq(1e09,5e09,1e09);
plot(1:5,y,ylab='',yaxt='n' );
axis(2, at=y, labels=formatC(y,big.mark=,,format=fg),las=2,cex=0.1);

Any thoughts?

Thanks,
Sachin
p.s. sorry about corporate notice.

--- Please consider the environment before printing this email ---

Allianz - Best General Insurance Company of the Year 2010*
Allianz - General Insurance Company of the Year 2009+

* Australian Banking and Finance Insurance Awards
+ Australia and New Zealand Insurance Industry Awards

This email and any attachments has been sent by Allianz ...{{dropped:3}}

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.







__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] cannot see the y-labels (getting cut-off)

2010-11-14 Thread sachinthaka . abeywardana

Hi All,

When I run the following code, I cannot see the entire number. As opposed
to seeing 1,000,000,000. I only see 000,000 because the rest is cut off.

The cex option doesn't seem to be doing anything at all.

y-seq(1e09,5e09,1e09);
plot(1:5,y,ylab='',yaxt='n' );
axis(2, at=y, labels=formatC(y,big.mark=,,format=fg),las=2,cex=0.1);

Any thoughts?

Thanks,
Sachin
p.s. sorry about corporate notice.

--- Please consider the environment before printing this email --- 

Allianz - Best General Insurance Company of the Year 2010*
Allianz - General Insurance Company of the Year 2009+ 

* Australian Banking and Finance Insurance Awards
+ Australia and New Zealand Insurance Industry Awards 

This email and any attachments has been sent by Allianz ...{{dropped:3}}

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] cannot see the y-labels (getting cut-off)

2010-11-14 Thread jim holtman
increase the margins on the plot:

 par(mar=c(4,7,2,1))
 plot(1:5,y,ylab='',yaxt='n' );
 axis(2, at=y, labels=formatC(y,big.mark=,,format=fg),las=2,cex=0.1);



On Sun, Nov 14, 2010 at 6:03 PM,
sachinthaka.abeyward...@allianz.com.au wrote:

 Hi All,

 When I run the following code, I cannot see the entire number. As opposed
 to seeing 1,000,000,000. I only see 000,000 because the rest is cut off.

 The cex option doesn't seem to be doing anything at all.

 y-seq(1e09,5e09,1e09);
 plot(1:5,y,ylab='',yaxt='n' );
 axis(2, at=y, labels=formatC(y,big.mark=,,format=fg),las=2,cex=0.1);

 Any thoughts?

 Thanks,
 Sachin
 p.s. sorry about corporate notice.

 --- Please consider the environment before printing this email ---

 Allianz - Best General Insurance Company of the Year 2010*
 Allianz - General Insurance Company of the Year 2009+

 * Australian Banking and Finance Insurance Awards
 + Australia and New Zealand Insurance Industry Awards

 This email and any attachments has been sent by Allianz ...{{dropped:3}}

 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.




-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.