Michael
2012-Mar-14 21:30 UTC
[R] How do I change the tick text on the x-axis of a plot and rotate them 90 degree?
How do I change the tick text on the x-axis of a plot and rotate them 90 degree?> labs[1] "[-0.185,-0.0997]" "(-0.0997,-0.0549]" "(-0.0549,-0.0293]" [4] "(-0.0293,-0.00948]" "(-0.00948,0.00534]" "(0.00534,0.0178]" [7] "(0.0178,0.035]" "(0.035,0.0566]" "(0.0566,0.0932]" [10] "(0.0932,0.183]" I want to be able to change the tick labels of the x-axis of the following plot plot(1:10) to those texts in "labs" and rotate them 90 degree... How to do that? Thanks a lot! [[alternative HTML version deleted]]
David Winsemius
2012-Mar-14 21:43 UTC
[R] How do I change the tick text on the x-axis of a plot and rotate them 90 degree?
On Mar 14, 2012, at 5:30 PM, Michael wrote:> How do I change the tick text on the x-axis of a plot and rotate > them 90 > degree? > >> labs > > [1] "[-0.185,-0.0997]" "(-0.0997,-0.0549]" "(-0.0549,-0.0293]" > > [4] "(-0.0293,-0.00948]" "(-0.00948,0.00534]" "(0.00534,0.0178]" > > [7] "(0.0178,0.035]" "(0.035,0.0566]" "(0.0566,0.0932]" > [10] "(0.0932,0.183]" > > I want to be able to change the tick labels of the x-axis of the > following > plot > > plot(1:10) > > to those texts in "labs"?axis> and rotate them 90 degree...?par It remains possible that you will learn to post from gmail in plain text _and_ to post your objects using dput. -- David Winsemius, MD West Hartford, CT