Displaying 20 results from an estimated 1000 matches similar to: "Colour area under density curve"
2009 Jun 02
1
Plot with different x axis
dear,
I am trying to plot a standard plot, but I want the x axis to be 1,2,4,8,16 with equal intervals between them on plot.
I will appreciate some help.
Thank you,
Irina
Irina Foss
Environmental Research Institute
North Highland College
UHI Millennium Institute
Castle Street
Thurso, Caithness
Scotland
KW14 7JD
United Kingdom
Tel: +44 (0) 1847 889 587
Fax: +44 (0) 1847 890 014
2009 Mar 01
3
CompRect modification
Me and Dennis Kasprzyk changed CompRect to be more intuitive and easily
replace XRectangle use.
This patch changes CompRect and whole Core.
Thanks for attention.
--
Eduardo Gurgel Pinho
(GELSoL-UFC)
(Gentoo) Linux User #415930
http://edgurgel.wordpress.com
http://alu.dc.ufc.br/~eduardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Oct 28
1
Calling R functions from C
Dear R users,
I read on the "Introduction to the .C Interface to R" by Peng & Leeuw
(http://www.biostat.jhsph.edu/~rpeng/docs/interface.pdf) that it is
possible to use a few R functions (such as "dnorm") within C by
including the "Rmath.h" header file in your C code:
e.g.
#include <R.h>
#include <Rmath.h>
void kernel_smooth(double *x, int *n,
2009 Feb 27
1
formula formatting/grammar for regression
Hi all,
I am doing some basic regression analysis, and am getting a bit
confused on how to enter non-polynomial formulas to be used.
For example, consider that I want to find A and r such that the
formula y = A*exp(r*x) provides the the best fit to the line y=x on
the interval [0,50].
I can set:
xpts <- seq(0, 50, by=0.1)
ypts <- seq(0, 50, by=0.1)
I know I can find a fitted polynomial
2005 Sep 28
7
Plot Data Points in boxplots
Hello,
I would like to plot my data in a fashion similar to a boxplot, but
plot the true data points without a box, just overlay lines of the
summary generated by the boxplot. I have less than 10 observations
within each group, so I think showing the actual data would be more
effective than the box of the boxplot. I have been unable to find a way
to do this.
Here is example data:
>
2009 Feb 25
1
[PATCH] CompRect more intuitive
Hi,
Compiz++ uses CompRegion instead of XRectangle, right? This patch tries to
improve CompRect usability
*First*
I was using CompRect, but I've found that the only way to modify a CompRect
is using setGeometry function:
void
CompOutput::setGeometry (int x1, int x2, int y1, int y2);
So I created setX1, setY1, setX2, setY2 functions
*Second*
As you can see above, setGeometry uses:
2009 Feb 05
1
Swap plugin and Compiz 0.8.0
**
*Purpose*
We were missing a plugin that could just exchange properties. Sometimes you
just need to minimize a window and "unminimize" other. To do it, you would
need to perform 2 or more clicks. So, we created Swap! [image: :)]
*Description*
It allows you to swap the geometry of two windows. Basically we changed
Static Switcher plugin to swap active window with another window.
2007 May 16
1
Unable to compile "Matrix" package
After upgrading to 2.5.0 under freebsd 6.2 I updated all the add-on packages
in an R session via update.packages(...). R was unable to install
the "Matrix" package because it couldn't find the package.
Therefore I downloaded the *.tar.gz from the CRAN site and issued
R CMD INSTALL Matrix_0.99875-1.tar.gz
but the comilation ended in an error (see the complete attached
2000 Mar 22
4
density ellipses?
Hello,
has anybody written a function to plot density ellipses (95%, 99% or
anything) in a scatterplot? I found nothing in any package, nor in the list
archives.
There does seem to be a contributed package "ellipse" for S-Plus (on
S-Archive), but it does a lot more than what I would need. Still, if anybody
ported it to R, I'd be grateful for a link. I'm a bit afraid to try the
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 =
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,
2004 Oct 01
3
Can grid lines color in a plot be specified?
R-help
Is there any way to specify the color of grid lines in a simple plot?
par(color.tick.marks=c("grey"))
plot(rnorm(10),tck=1)
Thank you
2010 Aug 25
5
lattice help required
hello,
i want to stack two lattice plots beneath each other using one x-axis and
sharing the same text-panels,
like:
#####################################################################
library(lattice)
y1 <- rnorm(100,100,10)
y2 <- rnorm(100,10,1)
facs<-expand.grid(Sites=rep(c("Site I","Site II"),25),Treatment=c("A","B"))
pl1<-dotplot(y1 ~
2007 Jan 23
1
How to generate 'minor' ticks in lattice (qqmath)
Dear group,
I tried to generate labels for every second tick in lattice (qqmath).
Version: 0.14-16
Date: 2006/12/01
R version 2.4.1 (2006-12-18)
An example:
library(lattice)
numy=100
y=runif(numy,min=0,max=1)
sig=0.05
numsig=length(which(y<sig))
tck.no=11 # number of ticks
tcks=1:tck.no
labl=as.character(0.1*tcks-0.1) # label for all ticks
labl[seq(2,tck.no-1,2)]="" # delete
2011 Feb 16
2
Axis positions
Hi everyone.
I would like to modify the axis on my plot.
First, I would like to make a plot without the box. so I use :
plot(x,y, axes = FALSE, type = 'l')
Then, I call :
axis(1, tck = -0.02)
axis(2, tck = -0.02)
to have X and Y axis appear. However, I would like them to join at the
origin instead of having a space between the 2 axis. I can't find the
parameter to modify to get
2009 Jun 17
3
lattice: axis ticks, axis alignment and remove axis from plot
Hi there,
I'm a bit confused concerning the axis tck setting in the lattice
package as the ticks on left sided axis aren't
drawn at all with the following setting:
dados <- data.frame(varsep = factor(rep(1:2,10)),
i = runif(20))
library(lattice)
my.theme <- list(
axis.components = list(left = list(tck = 1, pad1 = 1, pad2 =
2), top = list(tck = 0, pad1
2012 Sep 10
2
how to create a segplot in black and white?
Hi to all
I hope you can help me.
# I'm trying to plot the following ratio data with standard error bars
(horizontal).
ratioBiomass <- c(1.327, 0.865, 1.900, 0.992, 1.469, 1.381, 1.230,1.269,
2.411, 1.288, 1.861, 0.714, 1.341, 1.362, 1.065, 2.374)
SEratio <- c(19.28, 5.04, 0.01, 0.01, 0.90, 0.02, 0.002, 11.37,
0.004, 0.29, 0.003, 0.13, 0.21, 0.52, 1.66, 14.57)
Species <-
2008 Jun 30
3
newbie needs help plotting time series
Dear R help list
I have recently started using R to visualize time series of water level measurements. The code I wrote
does exactly what I want:
plot(x, a$B112, axes=FALSE, ylim=c(405,410), col="red", pch=15,
type="o", ylab="metres above sea level", main="Main Plot Title")
axis(2, at=405:410, tck=1, col="gray60")
axis.Date(1,
2009 May 08
1
centering axis labels in lattice
Hello,
I'm attempting to alter the location of text in my axis labels in
lattice plots and have been unsuccessful so far. For example, the
y-axis labels are always right-justified, but I would like them to be
horizontally centered.
Here's an example:
library(lattice);
# create fake dataset to plot
to.plot <- data.frame(
x = 1:5,
y = c("1\nAAA", "2\nBBB",
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é