ANJAN PURKAYASTHA
2010-Oct-05 22:13 UTC
[R] Plotting x-axis labels perpendicular to the axis
Hi, The following command: axis(1, at= 1:50, labels= sampleNames(data)) produces an X-axis with 50 ticks and labels drawn from the sampleNames namespace. Problem is the labels at each tick are printed parallel to the x-axis and thus run into each other. How do I specify for the labels to be printed perpendicular to the x-axis? Thanks in advance. Anjan -- ==================================anjan purkayastha, phd. research associate fas center for systems biology, harvard university 52 oxford street cambridge ma 02138 phone-703.740.6939 ================================== [[alternative HTML version deleted]]
David Winsemius
2010-Oct-05 22:23 UTC
[R] Plotting x-axis labels perpendicular to the axis
On Oct 5, 2010, at 6:13 PM, ANJAN PURKAYASTHA wrote:> Hi, > The following command: axis(1, at= 1:50, labels= sampleNames(data)) > produces > an X-axis with 50 ticks and labels drawn from the sampleNames > namespace. > Problem is the labels at each tick are printed parallel to the x- > axis and > thus run into each other. How do I specify for the labels to be > printed > perpendicular to the x-axis??par ..., las=2, ... ..., las=3, ...> Thanks in advance. > Anjan > > -- > ==================================> anjan purkayastha, phd. > research associate > fas center for systems biology, > harvard universityDavid Winsemius, MD West Hartford, CT
Bill.Venables at csiro.au
2010-Oct-05 22:25 UTC
[R] Plotting x-axis labels perpendicular to the axis
?par lood at the 'las' parameter. -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of ANJAN PURKAYASTHA Sent: Wednesday, 6 October 2010 8:13 AM To: r-help at r-project.org Subject: [R] Plotting x-axis labels perpendicular to the axis Hi, The following command: axis(1, at= 1:50, labels= sampleNames(data)) produces an X-axis with 50 ticks and labels drawn from the sampleNames namespace. Problem is the labels at each tick are printed parallel to the x-axis and thus run into each other. How do I specify for the labels to be printed perpendicular to the x-axis? Thanks in advance. Anjan -- ==================================anjan purkayastha, phd. research associate fas center for systems biology, harvard university 52 oxford street cambridge ma 02138 phone-703.740.6939 ================================== [[alternative HTML version deleted]] ______________________________________________ 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.