Displaying 20 results from an estimated 10000 matches similar to: "mtext"
2007 Oct 31
1
Lattice: par.ylab.text alpha ?
Hi all,
I've got R for windows 2.3.1
I'm trying to modify my lattice histograms.
The following does reset the y-label to blue, but I cannot turn off the label (alpha=0), nor shift label position (I'm assuming that is what lineheight is for). Is 'lineheight' the equivalent of 'line' in mtext?
Am I erring somehow?
Thanks!
2000 Nov 07
2
par(las=.) gives wrong "adj" for mtext() (PR#726)
For R Version 1.1.1 and R-devel (Linux)...
Sorry, there's no time to fix myself now
{e.g., after starting a new device} :
par(las=3); plot(1:10); par(las=1) ; mtext("mtext")
Gives a left-adjusted (as for adj = 0) mtext,
even if par("adj") is still 0.5
Note that I'm also not convinced that mtext() should follow par("las")
as it does in the
2004 Aug 19
3
mtext adj= wrong with several las= (PR#7188)
Dear all,
Our quite basic function mtext() does wrong adjustments in some parameter
configurations. This gets obvious when using multi line texts: There is no
way to properly adjust text perpendicular to axis 2, for example.
Best
Jens Oehlschl?gel
m <- matrix(1:9, 3)
colnames(m) <- c("several\nlines", "several\nlines", "several\nlines")
par(mfrow=c(2,2))
2001 Feb 01
3
Rotated mtext
I seem to remember this coming up before, but I can't find it any messages I've
saved or in the archives (searching by subject). I want to rotate mtext so that
it's perpendicular to the right side. I tried srt=90 and lots of other values,
but it seems to be ignored. Is there a way to do this?
______________________________________________________________________
Stuart Luppescu
2009 Oct 08
2
lattice: passing multiple lty values to the key/legend
hi all,
It's not clear to me how (or if) I can pass multiple values for lty to a key in xyplot?
I've tried: lines=list(lty=1:3), to no avail.
Do I need to use something other than auto.key?
(Deepayan, if you're out there, I have your book and must admit the answer isn't jumping out at me.)
thanks in advance!
Michael Folkes
example code:
#____________________________
2013 Feb 18
2
mtext unicode failure
Readers,
How to solve this unicode input error please?
> postscript("~/tmp/test.eps",width=100/25.4,height=100/25.4,horizontal=FALSE,onefile=TRUE,paper="special")
> testx<-seq(1:5)
> testy<-seq(1:5)
> plot(testy~testx)
> mtext('text (O?)\n more text',side=3,line=1)
Warning messages:
1: In mtext("text (O?)\n more text", side = 3, line =
2011 Dec 09
1
Align expression and text in mtext()
Dear R-helpers,
I have trouble aligning an expression with a subscript, and text, in margin
text:
par(mar=c(6,6,1,1))
b <- barplot(1:3)
mtext(c("A","B","C"), at=b, side=1, line=1, cex=1.3)
mtext(expression(italic(C)[a]~(more~text)), at=0, line=1, side=1,cex=1.3)
As explained in the help files and elsewhere, I understand that the
expression is aligned by the
2013 Sep 09
1
Hmisc binconf function value interpretation during narrow confidence intervals
Hello all,
I've been using binconf (package Hmisc) at a range of alpha values and
noticed that using the 'Wilson' method when alpha is larger (i.e. narrow
CI), results in the upper value being smaller than the lower value. The
'exact' and 'asymptotic' methods give results in the realm I'd expect.
But the help file suggests:
"Following Agresti and Coull, the
2004 Mar 17
2
Installing Samba
Hi
I am trying to install Samba on a QNX 4.24 system. When we run the make
file we get an error :
compiling server.c
make:cc:command not found
make: *** [server.o] error 127
Can you help with this!
Lucille Shears
Systems Analyst
CCG/DFO
shearsl@dfo-mpo.gc.ca
(709) 772-3131
cell (685-1512)
2007 Aug 24
3
changing text direction of mtext
Hello,
Does anyone know if it's possible to change the text direction of mtext?
I'd like to use 'mtext(side=2)' but the text should be 'left-to-right'.
I couldn't find an argument for that in the help files.
Thanks for any suggestions
Tobias
--
View this message in context: http://www.nabble.com/changing-text-direction-of-mtext-tf4321931.html#a12307342
Sent from
2011 Mar 04
4
Floating points and floor() ?
Perhaps somebody could clarify for me if the following is a floating
point matter or otherwise, and how am I to correct for it?
> floor(100*.1)
[1] 10
> 100*(1.0-.9)
[1] 10
> floor(100*(1-0.9))
[1] 9
Thanks!
Michael
_______________________________________________________
Michael Folkes
Salmon Stock Assessment
Canadian Dept. of Fisheries & Oceans
Pacific Biological Station
1999 Nov 23
1
"outer" argument in mtext (PR#340)
mtext(..., outer = TRUE) does not seem to center the text in the outer
margins as it did previously. Reproduce with
example(plot.profile.nls, package = "nls")
On versions of the development sources before November 17 this
produced main and subtitles that were centered horizontally on the
page. After that the main title (from mtext("..", side = 3, outer = TRUE))
is centered
2007 Aug 02
2
y axix number into horizontal direction
Dear R users,
I used plot() and mtext() functions to draw a plot. The numbers: 0,20,35,
40,60,80,100 were in the vertical direction. I'd like to transfer them into
the horizontal direction.
plot(0,0,xaxt="n",type="n", ylim=c(0,100))
mtext("35",side=2,at=35)
Any suggestion?
Thanks.
Rebecca
[[alternative HTML version deleted]]
2008 Mar 13
2
Plot contour over filled contour
Dear R-users,
I haven't found a way in the searchable archive to overplot a contour
(lines) over a surface.
I have a (n,m) matrix that represents sea surface temperature that I
have plotted using image.plot(), filled.contour() or image(). I would
like to overplot this image with some contour lines of mixed layer depth
values(same size matrix). How can I do this?
Any help is appreciated,
2010 Apr 22
1
Multicolor main title in a plot or mtext
Dear R-users, the problem I'm facing today is to write a
multicolor main title in a plot.
I would like to have 3/4 colors to help people in the
audience to visually realize what is what in a 4x2 plot array
On top of each plot I would like to have two lines.
The 1st line will indicate what is plotted
The 2nd line will indicate a a reference
Graphically speaking I would like a result similar
2005 Jul 04
1
Colors in mtext
I want to assign different colors to different strings using
mtext(...). However, when I use something like
mtext(text=c("string1","string2","string3"),
col=c("black","blue","red"), side=3, line=0)
string2 and string3 are printed over string1. When I use
paste("string1","string2","string3"), the series
2012 Apr 27
2
get plot axis rounding method
Hello,
Does anyone know how to get the rounding method used for the axis tick
numbers/values in plot()?
I'm using mtext() to plot the values used to plot vertical and horizontal
lines (using abline()) and I'd like these vertical and horizontal line
values to be rounded like the axis tick values are rounded.
In other words, I want numbers plotted with mtext() to be rounded in the
same
2011 Nov 15
1
Plot alignment with mtext
I would like the text plotted with 'mtext' to be alighned like it is for
printing on the console. Here is what I have:
> print(emt)
ME RMSE MAE
MPE MAPE MASE
original -1.034568e+07 1.097695e+08 2.433160e+07 -31.30554 37.47713
1.5100050
xreg 1.561235e+01 2.008599e+03 9.089473e+02 267.05490 280.66734
2004 Jun 15
2
S/R/RWeb/ODBC
I'm looking for an optimal approach to access Oracle databases via RWeb
applications. I'm new to R but familiar with programming functions and web
pages for the S+ Statserver. I'm now going through the motions of migrating
S+/Statserver applications to R/RWeb as a feasability exercise. I can access
databases using ODBC directly in R or S, and using Statserver, but I have
not succeeded
2011 Apr 04
2
RODBC excel - need to preserve (or extract) numeric column names
I'm using RODBC to read an excel file (not mine!). But I'm struggling to find a way to preserve the column names that have a numeric value. sqlFetch() drops the value and calls them f1, f2, f3,... (ie field number). this is a different approach from read.csv, which will append "V" prior to the numeric column name. sqlFetch isn't so helpful.
Is there a way to get the