Dear Frank,
you can use grconvertY and grconvertX to convert from user coordinates
to inches etc and vice versa.
E.g.

lines(rep(.25*1500,2),grconvertY(grconvertY(par("usr")[3],"user","inches")+c(0,.1),from="inches",to="user"))

should produce a tick of 0.1 inches height, regardless of the actual
plot height.

Hope this helps.

Am 26.07.2013 13:57, schrieb Frank Harrell:
> Thanks Rich and Jim and apologies for omitting the line
> 
> x <- c(285, 43.75, 94, 150, 214, 375, 270, 350, 41.5, 210, 30, 37.6,
> 281, 101, 210)
> 
> But the fundamental problem remains that vertical spacing is not correct
> unless I waste a lot of image space at the top.
> 
> Frank
> 
> 


-- 
Eik Vettorazzi

Department of Medical Biometry and Epidemiology
University Medical Center Hamburg-Eppendorf

Martinistr. 52
20246 Hamburg

T ++49/40/7410-58243
F ++49/40/7410-57790

______________________________________________
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.

Reply via email to