Displaying 20 results from an estimated 2000 matches similar to: "strwidth and strheight for rotated text"
2003 Mar 26
3
hist overlay...
thanks to all for the 2d scatter plot.
i have one more.
how do i plot 'hist(y1, col="red") and hist(y2,col="blue") in the same window?
thanks again.
2000 Apr 18
1
strheight() crashes without opened device (PR#524)
My mistake, but also a bug.
I did not open a device and called strheight("X").
==> R crashed
...\rgui --vanilla
[...]
> strwidth("X")
Error in strwidth("X") : plot.new has not been called yet
(OK.)
> strheight("X")
R crashed.
(Happens also on Solaris.)
Regards,
Uwe Ligges
--please do not edit the information below--
Version:
platform =
2005 Jun 11
1
Wishlist: strwidth allow for rotation of text (PR#7931)
Hi,
This is not a bug, but an enhancement suggestion. "strwidth" only gives the
width of the text according to the x-axis user coordinates, and similarly
for "strheight". Even if the par setting "srt" is changed to rotate the
text, the resulting width (resp. height) is in terms of the non-rotated
text. Currently, if I want to know how much space to leave for
2018 Dec 30
3
[cfe-dev] Portable multiplication 64 x 64 -> 128 for int128 reimplementation
_mulx_u64 only exists when the target is x86_64. That's still not very
portable. I'm not opposed to removing the bmi2 check, but gcc also has the
same check so it doesn't improve portability much.
~Craig
On Sat, Dec 29, 2018 at 4:44 PM Arthur O'Dwyer via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi Pawel,
>
> There is the _mulx_u64 intrinsic, but it
2008 Oct 26
1
[PATCH 1/1] ocfs2/xattr: Proper hash collision handle in bucket division.v3
Modification from V2 to V3:
Use a more pefect code suggested by Joel. Thank Joel for it.
In ocfs2/xattr, we must make sure the xattrs which have the same
hash value exist in the same bucket so that the search schema can
work. But in the old implementation, when we want to extend a bucket,
we just move half number of xattrs to the new bucket. This works
in most cases, but if we are lucky enough we
2005 Nov 16
2
mdf no sound issue
Jean Marc & list,
Following up on this- there seems to be an issue with this calculation
in mdf.c (Smooth echo energy estimate over time)
Pey += Eh*Yh;
Pyy += Yh*Yh;
it goes too large for floating point, which seems to be caused by extremely
large values in st->Rf[j], st->Yf[j] and smaller values in st->Eh[j],
st->Yh[j]-
things were relatively quiet
2008 May 01
4
efficient code - yet another question
Dear list members;
The code given below corresponds to the PCA-NIPALS (principal
component analysis) algorithm adapted from the nipals function in the
package chemometrics. The reason for using NIPALS instead of SVD is
the ability of this algorithm to handle missing values, but that's a
different story. I've been trying to find a way to improve (if
possible) the efficiency of the code,
2005 Apr 23
3
Enhanced version of plot.lm()
I propose the following enhancements and changes to plot.lm(),
the most important of which is the addition of a Residuals vs
Leverage plot.
(1) A residual versus leverage plot has been added, available
by specifying which = 5, and not included as one of the default
plots. Contours of Cook's distance are included, by default at
values of 0.5 and 1.0. The labeled points, if any, are those
2003 Oct 27
1
How can strheight be calculated in lattice/grid?
If I have drawn a string with ``ltext( x, y, labels="first string" )''
how can a draw a second string just one line (or strheight("X")
below the first string regardless of the size and scales of the panel?
Thanks
Wolfram
2009 Feb 20
1
[PATCH 1/1] ocfs2: set gap to seperate entry and value when xattr in bucket
This patch set a gap (4 bytes) between xattr entry and
name/value when xattr in bucket. This gap use to seperate
entry and name/value when a bucket is full. It had already
been set when xattr in inode/block.
Signed-off-by: Tiger Yang <tiger.yang at oracle.com>
---
fs/ocfs2/xattr.c | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/fs/ocfs2/xattr.c
2009 Mar 09
4
[PATCH] ocfs2: Use xs->bucket to set xattr value outside.
Tristan,
could you please run your xattr test against it?
xs->base used to be allocated a 4K size and all the contents in the
bucket are copied to the it. So in ocfs2_xattr_bucket_set_value_outside,
we are safe to use xs->base + offset. Now we use ocfs2_xattr_bucket to
abstract xattr bucket and xs->base is initialized to the start of the
bu_bhs[0]. So xs->base + offset will overflow
2018 May 11
0
Bug in plot.lm function (stats package): positioning of labels for extreme points.
Hi,
====================
Reproducible example:
====================
data(Animals, package="MASS") # interesting dataset
# Run model
lm1 <- lm(log10(body)~log10(brain), data=Animals)
# Setup 2x2 graphics device
par(mfrow=c(2,2))
# Plot diagnostics, label the two most "extreme" points based on magnitude of residuals
plot(lm1, id.n=2)
==============================
2004 Mar 03
1
Bug in plot.lm (PR#6640)
Dear all,
I noticed the following behaviour of plot.lm:
> fm1 <- lm(time~dist, data=hills, weights=c(0,0,rep(1,33)))
> par(mfrow=c(2,2))
> plot(fm1)
Warning messages:
1: longer object length
is not a multiple of shorter object length in: res/(sd * (1 - hat))
2: longer object length
is not a multiple of shorter object length in: (res/(sd * (1 - hat)))^2 * hat
which seems to be
2009 Aug 02
1
Inaccurate complex arithmetic of R (Matlab is accurate)
Dear All,
Hans Borchers and I have been trying to compute "exact" derivatives in R using the idea of complex-step derivatives that Hans has proposed. This is a really, really cool idea. It gives "exact" derivatives with only a minimal effort (same as that involved in computing first-order forward-difference derivative).
Unfortunately, we cannot implement this in R as the
2000 Dec 28
0
some (may be related) problems with windows(rescale=) (PR#795)
If these things bother you, could you please supply fixes? For some reason
you omitted the part of the help page dealing with one of these (which is
as documented), and I also think you are confusing `plot' and `device'
sizes. The latter will be the displayed device surface, I believe.
Nothing on the help page suggested that the fine details of the R read-only
parameters will be as you
2013 Apr 06
4
[Bug 9770] New: Preserving ownership and permissions does not work
https://bugzilla.samba.org/show_bug.cgi?id=9770
Summary: Preserving ownership and permissions does not work
Product: rsync
Version: 3.0.9
Platform: x64
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: feliz.cha.cha.cha
2005 Jan 16
1
p.adjust(<NA>s), was "Re: [BioC] limma and p-values"
I append below a suggested update for p.adjust().
1. A new method "yh" for control of FDR is included which is valid for any
dependency structure. Reference is Benjamini, Y., and Yekutieli, D. (2001).
The control of the false discovery rate in multiple testing under
dependency. Annals of Statistics 29, 1165-1188.
2. I've re-named the "fdr" method to "bh" but
2000 Dec 28
1
some (may be related) problems with windows(rescale=) (PR#794)
###############################################################################
Before reporting 4 problems with windows(rescale=) I want to congrat on R1.2 and to thank r-developers for quickly adding the rescale workaround to the windows version.
Happy New Year
Jens Oehlschlaegel
###############################################################################
2011 Jun 05
1
another missing link in febootstrap; failing tests for libguestfs
After the last round of patches to febootstrap, the image-based test in
libguestfs still failed. It turned out that this happens because Debian
started replacing /var/run and /var/lock with symlinks that point to a
tmpfs mounted to /run. The symlinks were copied to the appliance but
/run/lock did not exist, so pvcreate refused to run (script
'images/guest-aux/make-debian-img.sh').
After I
2004 Dec 20
3
RE: [R] SAS or R software
Yes, par(family="mono") would work, except that I get R segfaults from this
sequence:
>
> plot.new()
> par(family="mono")
> par(cex=8)
> strheight("foo")
Process R segmentation fault (core dumped) at Mon Dec 20 16:07:56 2004
on R 2.0.1 (2004-11-15), Red Hat Enterprise Linux AS release 3
In my code I call strheight and strwidth several times in