Perhaps, but Arun answered you question using regular expressions.  So didn't that not do the job?

Br.

Frede


Sendt fra Samsung mobil


-------- Oprindelig meddelelse --------
Fra: Hurr
Dato:14/05/2014 22.48 (GMT+01:00)
Til: r-help@r-project.org
Emne: Re: [R] Put short string labels vertically near tick marks on bottom axis

Thank you Frede Aakmann Tøgersen, but your
suggestion is too difficult for me to understand.

Two problems:
1)If I let the labels on the bottom horizontal scale be
horizontal, then when I change the graph's size horizontally
some labels disappear and reappear depending on the
amount of stretch. Also labels take too much horizontal space.
Also it doesn't print the same number of labels as shows on
the screen as they disappear and reappear.
2)If I put the labels vertically on the horizontal scale,
the 4-digit numbers take too much vertical space and I
would like to put them to the left (i.e. above) the Unit.
I could externally tell it where to put them, but the
location should be relative to the label size, not only to
the original scale of the horizontal axis.

It seems to me that there might be a
way in R to make this happen.

Hurr




--
View this message in context: http://r.789695.n4.nabble.com/Put-short-string-labels-vertically-near-tick-marks-on-bottom-axis-tp4690452p4690574.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.

	[[alternative HTML version deleted]]

