Displaying 20 results from an estimated 4000 matches similar to: "R-beta: Functionality of tck=1, and mtext()"
1997 Aug 15
2
R-beta: Polynomials in lm/glm
R users,
I was a bit surprised to find that when I attempted to add a polynomial
term to a linear model using either lm or glm as could be done in S
resulted in a fit without that term included and without warning(!!), e.g.
> lm(response ~ x + x^2, data).
As far as I can gather, there is no poly() yet in R, and if lm/glm do not
allow functions of variables as their formula arguements, is
1998 Mar 27
1
R-beta: Including an evaluated function in text expression
R-users,
I would like to take advantage of R's mathematical typesetting
capabilities in the graphical environment using text(...,
expression(...)), however, I can't figure out how to include in the
expression some evaluated function. For example,
> x <- 1:8
> plot(1:10, 1:10)
> text(5, 5, expression(sum(x[i], i == 1, length(x))) # would like "8"
1998 Jun 25
1
R-beta: PostScript tick marks in 62.1
R-users/developers,
I am loosing tick marks that I add to a plot with axis() when plotting
to the postscript device. They show up fine on the x11 device, and work
with the postscript device when the default tickmarks are used (those
added by plot()).
I am using R-62.1 from the RedHat5.0 rpm's on i86 Linux.
Do later snapshots correct this, or is this a running bug in R awaiting
the
1998 Jun 25
1
R-beta: PostScript tick marks in 62.1
R-users/developers,
I am loosing tick marks that I add to a plot with axis() when plotting
to the postscript device. They show up fine on the x11 device, and work
with the postscript device when the default tickmarks are used (those
added by plot()).
I am using R-62.1 from the RedHat5.0 rpm's on i86 Linux.
Do later snapshots correct this, or is this a running bug in R awaiting
the
1997 Oct 10
1
R-beta: leaps() and subsets() functions
Dear R-users,
Is anyone successfully using leaps() and particularly subsets()
(contributed function) in R? When I attempt to run them with modest
matrices, R promptly faults and dumps the core. Also, how does one use
subsets.formula() within subsets()?
R : Copyright 1997, Robert Gentleman and Ross Ihaka
Version 0.50 Alpha-4 (September 10, 1997)
R-base-0.50.a4-1.i386.rpm
2012 Jun 02
1
mtext bug
Sir,
I have hit a the limits of my understanding of text / par / opar etc...
I have a few related xts data frames which have multiple columns, and have
written a for-loop to make a set of charts - however i do not get any
margin text when i run the loop.
when i test the code outside of the loop the margin text appears - however
when i run the loop the margin text does not appear ... what gives?
2000 Jul 12
1
plot.times error -- missing or illegal tck parameter (PR#601)
There seems no default setting for tck, causing problems
for plot.times()
> library(chron)
> dts <- dates(c("02/27/92", "02/27/92", "01/14/92",
+ "02/28/92", "02/01/92"))
> y<-chron(dts,out.format=c("dmy","h:m:s"))
> y
[1] 270292 270292 140192 280292 010292
> plot(y,1:5)
Error in axis(n, at =
1998 Jan 08
0
R-beta: Using par(tck=,xaxs=)
I found that par(tck=xx) was ignored and par(xaxs="s") gave an error in
v0.61. I've made the following quick hacks in the code to get these to
function. Please let me know if I'm setting myself up for trouble and...
Thanks for R! ...Steve Oncley (oncley at ucar.edu)
-------------------------------------------------------
A hack to get par(tck) to work:
2018 Feb 07
0
Re: [libvirt] [PATCH tck] Relabel SELinux when customizing virt-builder image
On Tue, Feb 06, 2018 at 12:50:51PM -0500, Laine Stump wrote:
> On 02/06/2018 10:53 AM, Pino Toscano wrote:
> > On Tuesday, 6 February 2018 16:40:04 CET Daniel P. Berrangé wrote:
> >> When you tell virt-builder to install extra RPMs, this potentially
> >> looses the SELinux labelling that Anaconda had originally setup. Thus we
> >> must tell virt-builder to
2010 May 26
1
persp(); help with 'tck' option
Hi All,
I'm using 'tck' option to *reduce* the length of tick marks but it is not
working, can anyone please tell me where I'm going wrong...
require(graphics)
require(grDevices)
x <- seq(-10, 10, length= 30)
y <- x
f <- function(x,y) { r <- sqrt(x^2+y^2); 10 * sin(r)/r }
z <- outer(x, y, f)
z[is.na(z)] <- 1
# 'bg' works but 'tck' is not showing
2018 Feb 06
2
Re: [libvirt] [PATCH tck] Relabel SELinux when customizing virt-builder image
On 02/06/2018 10:53 AM, Pino Toscano wrote:
> On Tuesday, 6 February 2018 16:40:04 CET Daniel P. Berrangé wrote:
>> When you tell virt-builder to install extra RPMs, this potentially
>> looses the SELinux labelling that Anaconda had originally setup. Thus we
>> must tell virt-builder to enable SELinux relabelling.
>>
>> Signed-off-by: Daniel P. Berrangé
1998 Feb 17
0
"tck" parameter
I have been making some changes to the axis drawing code which will
allow users to use par(tck=...) to produce grid lines and tick marks
which go into a plot rather than pointing outwards.
I don't particularly like the strategy that S uses for determining
tick mark size so I have introduces an alternative mechanism as well.
There is now a new "par" parameter called "tcl"
2009 Oct 05
0
Help in the mtext function
Hi
Can anyone please help me in understanding the utility of "padj" and "outer
(logical)" values in the '*mtext function*'
given below are the output I generated on using the below code which is
different from the formula description on r help
> par(mfrow=c(2,1),xpd=NA)
> y1 <- rnorm(100)
> plot(y1,ann=F,axes=F,type="l")
>
2009 Apr 06
0
mtext problem - grainy and massive file size
Hi Team,
I'm on a mac, 0SX 10.5.6, R 2.7.2.
I consistently make pairs plots and use mtext() to put labels on top of the
plot in the outer margin. All of a sudden, this text has become really
grainy in the final product and is making huge files. I have no idea why
this has just started happening. The only thing I've done lately is install
the new version of GIMP and run the script to
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
2006 Aug 14
1
mtext uses the typographical descender to align text
<>
Hello
One sometimes (quite often really ) marvel at the choice of defaults in
R's graphic engine.
For some obscure reason, mtext uses the typographical descender (bottom
of letters) to align text. That is: "gG" will end up slightly higher
that "GG". Depending on the font, "Q" might end up higher than "O".
(for explanation of baseline
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
2011 May 11
1
mtext text size (cex) doesn't match plot
Hi,
I am using mtext instead of the ylab argument in some plots because i
want to move it away from the numbers in the axis. However, the text
in the X axis,
for example:
par(mar=c(5, 5.5, 4, 2));
plot(data, main="plot name", xlab= 'X axis', ylab="",
font=2, cex.lab=1.5, font.lab=2, cex.main=1.8);
mtext('Y axis', side=2, cex=1.5, line=4,
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