[R] axis in r plot

Petr PIKAL petr.pikal at precheza.cz
Mon Jun 25 11:13:15 CEST 2012


Hi

> 
> I have the graph plotted with x axis(-50 to 250) and y axis (-50 to 
500).I
> need the x axis values(-50 to 250) with spacing between two  tick marks 
as
> 1or 0.1.The graph should be wider to get enough resolution.

For the first case you shall have some special display as you will need at 
least 15000 pixels wide screen. 

> length(seq(-50,250,.1))
[1] 3001

I assume 4-5 pixels between ticks as minimum spacing.

For the second case it is slightly better, however still your screen 
resolution shall be at least somewhere near 2000 pixels.
> length(seq(-50,250,1))
[1] 301

According to Wikipedia 27-30 inch HD display can probably cope with your 
request.

Regards
Petr

> 
> --
> View this message in context: http://r.789695.n4.nabble.com/axis-in-r-
> plot-tp4634199p4634391.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list