HI there, Well, I am stuck again. How do I turn off axis annotation? Oh, and thanks to Peter Dalgaard for his help with my last question. I have an observation that others there may find interesting. In the windows implementation of R, the tck option of par() does not seem to operate as the reference manual indicates. Apparently the length of ticks using this option is supposed to be "a fraction of the smaller of the width or height of the plotting region", when in fact it does not produce this result at all.... I think that it is producing ticks on the y axis that are a fraction of the width, while the ticks on the x-axis are the same fraction, but this time of the height. Not a lot of use, but if you are interested, in trying this sort of thing, use tcl instead...it appears to work nicely. Thanks, Matt Redding **************************DISCLAIMER******************************** The information in this e-mail message together with any attachments is confidential and may be legally privileged. It is intended only for the use of the person or entity to which it is addressed. If you are not the addressee, any form of disclosure, copying, modification, distribution or any action taken or omitted in reliance on this e-mail message is unauthorised. Opinions contained in this e-mail message and any attachments do not necessarily reflect the opinions of the Queensland Government and associated organisations. If you received this e-mail message in error, please notify the sender immediately and delete this message and any attachments from your computer and/or your computer system network. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
In order to get help on plots you need to do BOTH ?plot and ?par Many par arguments can be used as plot arguments. Not all of them though. I never had a clear explanation of this. So if you do ?par you will see ann: If set to `FALSE', high-level plotting functions do not annotate the plots they produce with axis and overall titles. The default is to do annotation. And so you do plot(x,y,ann=FALSE) This leaves off the x and y titles. You still have the numerical labels next to each tick. If you want a lot of control you can do plot(x,y,ann=FALSE,axes=FALSE) box() axis(side=1,labels=TRUE) axis(side=2,labels=TRUE) mtext("Y", side=2, line=2) mtext("X", side=1, line=2) You might want to do ?axis Bill -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> HI there, > >Well, I am stuck again. How do I turn off axis annotation? > > Oh, and thanks to Peter Dalgaard > for his help with my last question. >One way to do this selectively is to use xlab/ylab arguments. For example, plot(x, y, xlab="") will turn off the x-axis annotation but not the y's. Hope this helps, Andy -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Thanks for that reply Andy, I suppose the other element of the puzzle that I am after, is how do I switch off the numbers on the xscale, so that an axis appears, and tick marks but no numbers? Thanks, Matt> -----Original Message----- > From: apjaworski at mmm.com [SMTP:apjaworski at mmm.com] > Sent: Friday, October 06, 2000 10:59 PM > To: r-help at stat.math.ethz.ch > Subject: Re: [R] Turning off axis annotation? > > > > > HI there, > > > >Well, I am stuck again. How do I turn off axis annotation? > > > > Oh, and thanks to Peter Dalgaard > > for his help with my last question. > > > One way to do this selectively is to use xlab/ylab arguments. For > example, > > plot(x, y, xlab="") > > will turn off the x-axis annotation but not the y's. > > Hope this helps, > > Andy > > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. > -.-.- > r-help mailing list -- Read > http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. > _._._ > >**************************DISCLAIMER******************************** The information in this e-mail message together with any attachments is confidential and may be legally privileged. It is intended only for the use of the person or entity to which it is addressed. If you are not the addressee, any form of disclosure, copying, modification, distribution or any action taken or omitted in reliance on this e-mail message is unauthorised. Opinions contained in this e-mail message and any attachments do not necessarily reflect the opinions of the Queensland Government and associated organisations. If you received this e-mail message in error, please notify the sender immediately and delete this message and any attachments from your computer and/or your computer system network. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
"Redding, Matthew" wrote:> I suppose the other element of the puzzle that I am after, is how do I > switch off the numbers on the xscale, so that an axis appears, and tick > marks but no numbers?What about plot(1:10, xaxt="n") axis(1, labels=FALSE) ? Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Dear R-users, I was doing simulation studies when the R session crashed and gave me the following message: RGUI caused an invalid page fault in module CRTDLL.DLL at 015f:7fc3c9da. Registers: EAX=00431b24 CS=015f EIP=7fc3c9da EFLGS=00010206 EBX=00431af8 SS=0167 ESP=0253f754 EBP=0253f75c ECX=3feeb800 DS=0167 ESI=00455ffe FS=3df7 EDX=00000001 ES=0167 EDI=00454f84 GS=0000 Could someone explain what went wrong ? Thanks very much, Agus Agus Salim PhD student Dept. of Statistics University College Cork Ireland Tel:353-21-4902197 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Agus Salim wrote:> > Dear R-users, > > I was doing simulation studies when > the R session crashed and gave me > the following message: > > RGUI caused an invalid page fault in > module CRTDLL.DLL at 015f:7fc3c9da. > Registers: > EAX=00431b24 CS=015f EIP=7fc3c9da EFLGS=00010206 > EBX=00431af8 SS=0167 ESP=0253f754 EBP=0253f75c > ECX=3feeb800 DS=0167 ESI=00455ffe FS=3df7 > EDX=00000001 ES=0167 EDI=00454f84 GS=0000 > > Could someone explain what went wrong ?There is a bug in R-1.0.0 for windows. You should upgrade to R-1.1.1. Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Agus, You write:>I was doing simulation studies when >the R session crashed and gave me >the following message:You might get some pretty short answers to that one. You need to give much more information for everyone to work on. I am not sure if there is an FAQ for this group (I have lost it if there was) but ... generally give: 1. The operating system you are using and the version number and the latest service pack installed, kernel version, &c. 2. The parameters used to start R. 3. Brief machine details (how much memory, processor). 4. The R command or code that caused the problem with a sample of data if applicable. Otherwise there is nothing for anyone to go on. BTW - I am sure that you will be told that there are later versions of R which fix some bugs and add some good stuff. Best wishes, Mark -- Mark Myatt -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "Mark" == Mark Myatt <mark at myatt.demon.co.uk> writes:... Mark> am not sure if there is an FAQ for this group (I have lost it if Mark> there was) .... Well, you might look at the footer of every message that is sent to the R mailing lists... {and the FAQ is also included with every version of R since about 1.0.0 for offline readers} Martin Maechler <maechler at stat.math.ethz.ch> http://stat.ethz.ch/~maechler/ Seminar fuer Statistik, ETH-Zentrum LEO D10 Leonhardstr. 27 ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND phone: x-41-1-632-3408 fax: ...-1228 <>< -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Martin Maechler <maechler at stat.math.ethz.ch> writes:>>>>>> "Mark" == Mark Myatt <mark at myatt.demon.co.uk> writes: > > ... > Mark> am not sure if there is an FAQ for this group (I have lost it if > Mark> there was) > .... > >Well, you might look at the footer of every message that is sent to the >R mailing lists... > >{and the FAQ is also included with every version of R since about 1.0.0 > for offline readers}Oops. So it is. Thanks. Mark -- Mark Myatt -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._