similar to: Positioning of axis titles

Displaying 20 results from an estimated 7000 matches similar to: "Positioning of axis titles"

2008 Mar 27
1
Standard error values returned by lm()
Hi, This may be a stupid question, but how are the "std. error" values returned by lm() calculated? For example > summary(lm) Call: lm(formula = log10(moments[2, 1:10]) ~ log10(L_vals[1:10])) Residuals: Min 1Q Median 3Q Max -0.0052534 -0.0019473 0.0006785 0.0011740 0.0059541 Coefficients: Estimate Std. Error t value
2007 Aug 15
4
Possible to "import" histograms in R?
Hi, I have a large amount of data that I would like to create a histogram of and plot and do things with in R. It is pretty much impossible to read the data into R, so I have written a program to bin the data and now have a list of counts in each bin. Is it possible to somehow import this into R and use hist(), so I can, for instance, plot the probability density? I have looked at the help page
2011 Oct 16
1
mgp and axis title positions
Hi all, I consider myself a somewhat experienced user of R, but have struggled with this for a while now. to the point where I just end up pulling the entire graph together in powerpoint and fixing it up from there. How does one adjust the horizontal/vertical positions of axis titles? I've tried using mgp in the par function, but that never produces anything satisfactory as x and y-axes are
2009 Jul 16
1
axis label config mgp
I have long axis labels (8units) on the x axis and 2 unit number labels on the y axis. I need to move the x axis title without moving the y axis title. I have used mgp=c(title, label and line), but mgp moves both the x and y titles. The following puts the y axis title way way out to the left. Anyone know how to move just the x axis. X11() conif<-c("Control", "Switched
2007 Aug 08
2
Relocating Axis Label/Title --2
Apologies for the previous mail (I sent it off too early by mistake). This is the correct example: rm(list=ls()) D_mean<-seq(-5,5,length=100) y<-exp(-D_mean^2/5) pdf("my.pdf") plot(D_mean,y,type="l",yaxt="n",lty=2,lwd=2,col="black", ylab = list(expression(paste(dN/dlogD[agg]," ["*cm^-3*"]"))), xlab = expression(paste(D[agg],"
2008 Jul 19
1
axis() ignores supplied value of argument mgp[3]?
It seems that when an argument 'mgp' is supplied to axis(), the mgp[2] value (position of tick mark labels) is honoured but the mgp[3] value (position of axis line) is ignored. Example: plot(1:5, xaxt='n', ann=FALSE) par(mgp=c(0,2,1)) axis(1, at=2:4, mgp=c(0,-2,-3)) Axis line is plotted at margin line 1, tick mark labels at line -3. Is this a bug? J. R. M. Hosking
2007 Jun 19
2
axis labels in multiple plots
Hi, I'am trying to make a multiple bar plot over a map and I'm having difficulties with the distance between axes labels and the axis. Trying to control this with mgp does not help because it controls both axes simultaneously. For example, with default values (mgp = c(3, 1, 0)) y-axis labels are ok, but x-axis labels are not. Setting mgp = c(3, 0, 0) gives good x-axis labels but the
2010 Apr 20
1
Changing the position of label title and rotating the title
Dear all, I want to plot a simple xy-plot but I have some problems with the label titles. In my plot, y-axis title should be at the top of the y-axis and it should be perpendicular to the axis. Similarly, x-axis title should be just next to the x-axis not at the bottom. By using mgp, I can change the position of the title vertically for y-axis and horizontally for x-axis but I want to change the
2002 Jul 01
3
manipulating axis labels in grid and lattice
I am trying to use wireframe at the moment and the axis labels are overlapping with the tick labels. It seems that gpar does not yet utilize the mgp argument. Is there anyway to manipulate the position of the axis labels? The best I can manage so far is to manipulate the cex so as to shrink everything down. thanks, Carlo Maley -- Dr. Carlo C. Maley Staff Scientist Fred Hutchinson Cancer
2002 Apr 16
1
Can one aply 'mgp' to individual axis?
Dear R-wizards! I want to move the axis label of the y-axis a little bit more apart from the border of the plot (otherwise, it would overlap with my horizontal numbering). 'par(mgp(3.5, 1, 0))' does it properly. Unfortunately, it also moves the x-axis label which does not look good. Is there a way to specify 'mgp' for each axis separately or is there another way to move just
2007 Jun 25
2
changing the position of the y label (ylab)
How can I change the position of the ylab, after enlarging the margins with par(mar=...)? Here is the relevant code snippet ---- par(mar=c(5.1,5.1,4.1,2.1)) plot(c(1979,2003),c(40,50),ylim=c(1,73),lab=c(20,10,1),pch=21,col='blue',bg='blue',axes=FALSE,xlab="Years",ylab="Onset/Withdrawl Date",font.lab=2) box() axis(1,las=2)
2005 Dec 21
1
RE: Prototype: correct useage of onCompletewithAjax.PeriodicalUpdater
The only call that PeriodicalUpdater will make periodically to you is the insertion call. I think of onComplete as being ''I''ve done everything I was going to do'', which for Updater is right after it''s done a single update, but for PeriodicalUpdater, it''s after it''s finished all of its updates, so you''ll only get it once for any call
2005 Dec 21
1
RE: Prototype: correct useage of onComplete withAjax.PeriodicalUpdater
>From a quick look at the source code, it looks like onComplete is only called when the whole thing is done - in the case of Updater, right after the update, in the case of PeriodicalUpdater, right after it has been stopped. It looks like you need to pass your callback method as an ''insertion'' method in the options. This takes two parameters, the first will probably be the
2008 Aug 27
2
Error producing density curve
Hi, i have never really used R before and i need to produce a density curve for use in an assignment. Following the instructions in the manual provided with my course i keep getting this error message: "Error in plot.xy(xy, type, ...) : invalid plot type '1'" The commands i have entered are: >x=seq(0, 1800, 10) >x >f=dnorm(x, 1454.190, 162.6301) >f
2008 Sep 07
3
ON MAC, how to copy a plot on to Word document?
Yes, I don't know how to copy the plot on Mac and paste on to Word because you can't right click on the graph and say "copy as metafile." I'm so surprised I can't find any information about this anywhere on the Internet... -- View this message in context: http://www.nabble.com/ON-MAC%2C-how-to-copy-a-plot-on-to-Word-document--tp19354558p19354558.html Sent from the R
2008 Aug 30
1
need some help on r
Hi >Tdf bin TCC_TCA TCA_CR TCC_CR Time sn.rnc 117 117 258 27 314 (08/28/08 00:09:42) 50.21 118 118 251 30 291 (08/28/08 00:09:47) 50.21 119 119 247 28 289 (08/28/08 00:09:52) 50.21 120 120 251 29 282 (08/28/08 00:09:57) 50.21 121 121 276 39 320 (08/28/08 00:10:02) 50.21 122
2009 Dec 11
3
`mgp[1:3]' are of differing sign (PR#14130)
Full_Name: Cornell Gonschior Version: 2.10.0 OS: Linux Submission from: (NULL) (212.201.28.40) Hi, in the introduction to R, you can find the following sentence in the par() chapter: "Use tck=0.01 and mgp=c(1,-1.5,0) for internal tick marks." I thought that's nice, because I wanted to have tick marks and tick labels inside and the axis title outside. But: > plot(z, las=1,
2010 Jan 10
3
How to control spaces between axis, tick and label in xyplot or xYplot?
Dear R users, I encounter a problem regarding space control in xyplot. Basically, I want to control spaces between label, tick and axis. I remember there is a function called mgp in general plot. Is there a similar function for xyplot or xYplot? Below is my basic code: myplotkid<-xyplot(expected_offspringnumber~afr|decade,groups=SES,data1,
2011 Jun 09
1
what is the mistake?? the coding still not function. no result display
# lda.r > # > # Author: Amsha Nahid, Jairus Bowne, Gerard Murray > # Purpose: Perform Linear Discriminant Analysis (LDA) > # > # Input: Data matrix as specified in Data-matrix-format.pdf > # Output: LDA plot > # > # Notes: Missing values (if any) are replaced by the half of the lowest > # value in the entire data matrix. >
2005 Dec 26
3
Override Validation?
Hi all, is there a way to override the validation methods so as to avoid the div.fieldWithErrors divs from being created on the redisplayed form? Many thanks in advance, Nicky