[R] trying to rotate barplot labels

From: Leeds, Mark (IED) <Mark.Leeds_at_morganstanley.com>
Date: Wed 18 Oct 2006 - 20:33:39 GMT

hi everyone : i'm trying to rotate the x axis labels in my barlot ( yes, since yesterday ) and my prob12matrix is 2 rows and 16 columns and i followed the instructions in the
archive "rotate barplot labels". i was really looking forward to seeing my labels turned but the plot just came back with no labels ? can anyone see what might be going on ?
it worked when i followed the archive using the simulated rnorm data generrated there.  

i've changed the naming method so that i'm using the labels command instead of the defaulted column names , so i wouldn't even mind getting them on unrotated because they
might even fit now. if someone knows how to do that wqihout rotating, that;s worth a try  

maybe it has something do with that the rnorm data in the archive was ten values whereas i have 16 values ( or 32 if i do besides = T ) ? I don't
know in depth what's really happening with all of these commands so it could be something with 10 versus 16. the plot looks fine though except for the lack of labels. also, if i take out axisnames=FALSE, it puts the columnnames on which don't fit. thanks a lot.  

par(mar=c(7,4,4,2) + 0.1)  


axis(1,at= mp,labels=FALSE)  

labels<-c("+","+|+","+|++","+|-+","+|+++","+|-++","+|+-+","+|++-","+|+++ +","+|-+++","+|+-++","+|++-+","+|+++-","+|--++","+|-+-+","+|-++-")  


This is not an offer (or solicitation of an offer) to buy/sell the securities/instruments mentioned or an official confirmation. Morgan Stanley may deal as principal in or own or act as market maker for securities/instruments mentioned or may advise the issuers. This is not research and is not from MS Research but it may refer to a research analyst/research report. Unless indicated, these views are the author's and may differ from those of Morgan Stanley research or others in the Firm. We do not represent this is accurate or complete and we may not update this. Past performance is not indicative of future returns. For additional information, research reports and important disclosures, contact me or see https://secure.ms.com/servlet/cls. You should not use e-mail to request, authorize or effect the purchase or sale of any security or instrument, to send transfer instructions, or to effect any other transactions. We cannot guarantee that any such requests received via !  e-mail will be processed in a timely manner. This communication is solely for the addressee(s) and may contain confidential information. We do not waive confidentiality by mistransmission. Contact me if you do not wish to receive these communications. In the UK, this communication is directed in the UK to those persons who are market counterparties or intermediate customers (as defined in the UK Financial Services Authority's rules).

        [[alternative HTML version deleted]]

R-help@stat.math.ethz.ch 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. Received on Thu Oct 19 06:44:12 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 18 Oct 2006 - 22:30:11 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.