Displaying 20 results from an estimated 1000 matches similar to: "hist overlay..."
2007 Nov 07
1
strwidth and strheight for rotated text
Dear All,
I would like to plot text with a box around it. I used strwidth and
strheight to compute the size of the box which is plotted with rect:
z <- rnorm(10)
# horizontal text works
plot(rnorm(10))
x1 <- 5
y1 <- 0
label <- "Label"
cha <- paste(" ", label, " ", sep = "")
xh <- strwidth(cha, cex = par("cex"))
yh <-
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
2009 Dec 17
2
Which hist cell each value falls in?
Hi, all. I'm using hist() to obtain a vector of break values in an interval.
I then want to be able to identify which cell any value from another vector
falls in.
E.g. applying
> breaks
[1] -3.5 -3.0 -2.5 -2.0 -1.5 -1.0 -0.5 0.0 0.5 1.0 1.5 2.0
to
> x
[1] -3.74519666 -0.38183630 -1.22884247 -0.20971824 -0.30533939 -0.36271207
[7] -2.27513499 -2.23688653 -1.98827155 -1.48666274
2005 Oct 17
5
TC show filter command shows all u32 filters defined with different priority iin all priority.
Hi,
I am currently working on the TC.
I have seen some behaviour which seems to be odd.
I know someone in the mailing list would have seen this problem or may
have some fix for this problem.
When I try to include u32 filters with different priority or pref, I
could see the filters being set on all the priority''s irrespective of
the priority number.
See my sample script below and the
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,
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
2008 Oct 28
14
[PATCH 0/13] ocfs2: xattr bucket API
When the extended attribute namespace grows to a b-tree, the leaf
clusters are organized by means of 'buckets'. Each bucket is 4K in
size, regardless of blocksize. Thus, a bucket may be made of more than
one block.
fs/ocfs2/xattr.c has a nice little abstraction to wrap this, struct
ocfs2_xattr_bucket. It contains a list of buffer_heads representing
these blocks, and there is even an
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
2009 Feb 16
3
[PATCH 0/2] ocfs2: two fixes for xattr -v2
Hi,
I have fixed the problems in version 1 patches. These two patches based
on the latest main line kernel.
Thanks,
tiger
> For EAs data structure in inode/block are little different from them in
> bucket. These two patches try to make them same for the most part.
>
> The first patch set xh_free_start and xh_name_value_len when EAs in
> inode/block. xh_free_start is useful to
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
2003 Sep 18
2
hist will not use parameter xaxs (PR#4219)
Full_Name: Mark Wall
Version: 1.6.0
OS: linux
Submission from: (NULL) (63.251.119.254)
I want to plot a histogram of a *subset* of some data:
>t = c(0:9)
>hist(t,right=FALSE,breaks=10,xlim=c(0,5),xaxs="i")
This means I should plot a histogram from 0 to 5 with breaks at 1,2,3,4. This
should produce exactly 5 bars of frequency=1. Instead I get 5 and 1/4 bars. I
do not want the
2009 Feb 11
2
[PATCH 0/2] ocfs2: two fixes for xattr
Hi,
For EAs data structure in inode/block are little different from them in
bucket. These two patches try to make them same for the most part.
The first patch set xh_free_start and xh_name_value_len when EAs in
inode/block. xh_free_start is useful to keep the minimum offset of the
xattr name/value. But xh_name_value_len is not very useful because we
don't have "hole" when EAs in
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
2010 Jan 28
5
files are missing in rails app
I''ve built the slackware packages of rails.
rails path is: /frm/ruby/1.8.6/lib/ruby/site_ruby/1.8
RUBYLIB :
/frm/ruby/1.8.6/lib/ruby/site_ruby/1.8:/frm/ruby/1.8.6/lib/ruby/site_ruby/1.8/i686-linux/
I could created the rails application, but files are missing.
Config
- boot.rb, database.yml, environment.rb and routes.rb
Public
-
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
2007 Mar 16
3
[LLVMdev] LLVM "Native" Backend
Having read through the documentation and browsed the code what are
the missing pieces, if any, required to implement a "native" LLVM
backend that:
* is able to produce loadable (ELF) object files with DWARF debugging
information
* handle inline assembly
* perform linker all necessary linking fixups
This assumes that there will be no native object file linking stage
in the tool
2009 Jan 07
1
[PATCH 1/5] cpumask: update irq_desc to use cpumask_var_t
An embedded and charset-unspecified text was scrubbed...
Name: cpumask:update-irq_desc-to-use-cpumask_var_t.patch
Url: http://lists.linux-foundation.org/pipermail/virtualization/attachments/20090107/8ebe5843/attachment.txt
2009 Jan 07
1
[PATCH 1/5] cpumask: update irq_desc to use cpumask_var_t
An embedded and charset-unspecified text was scrubbed...
Name: cpumask:update-irq_desc-to-use-cpumask_var_t.patch
Url: http://lists.linux-foundation.org/pipermail/virtualization/attachments/20090107/8ebe5843/attachment.txt
2009 Jan 07
1
[PATCH 1/5] cpumask: update irq_desc to use cpumask_var_t
An embedded and charset-unspecified text was scrubbed...
Name: cpumask:update-irq_desc-to-use-cpumask_var_t.patch
Url: http://lists.linux-foundation.org/pipermail/virtualization/attachments/20090107/8ebe5843/attachment.txt
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