Displaying 20 results from an estimated 500 matches similar to: "Question: xyplot panel configurations for Trellis package"
2013 Feb 20
1
ggplot2 customizing a plot
Dear all,
I want some help improve my ggplot as following:
Make the plottable area with grid, so is easy one to see where each box refers to x and y values.
Add a color bar but with fixed values, that I want to specify.
How I can do those two?
Before is some code what I have tried so far.
Regards
Alex
2009 Mar 20
1
how can I find actual axis limits for an existing plot?
I would like to query an existing plot to learn the actual x and y
limits of the plottable area. Is this possible? I can discover the
extreme tick mark locations but not the actual plot area limits.
Setting the limits with ylim will not help in this case because I am
overplotting an existing plot with a separate function, and I don't want
my end-user to have to pass parameters around.
2011 Apr 01
1
filled contour plot with contour lines
I'm stumped, can anyone find my error in this sequence.
for(j in 1:(varsize[4]-1))
temp <- get.var.ncdf(nc=input,
varid="p_foraging",c(1,1,j),c(varsize[1],varsize[2],1))
filled.contour(x, y, temp, color = terrain.colors,
plot.title = title(main = paste("Everglades Wood Stork
Foraging Potential \nYear", (2000+j)),
xlab =
2005 Dec 13
4
Ploting graphics using X tints from a color
Hi,
I'm trying to draw a 2D plot using multiple tints of red. The
(simplified) setup is the following: || year | x | y ||
My idea is that each year is plotted with a different tint of red.
Older year (lightest) -> Later year (darkest). I've managed to plot
this with different scales of grays simply by doing:
palette(gray(length(years):0/length(years)))
before the plot and for each
2011 Jul 27
1
create a index.date column
Dear
R users,
I
created a matrix that tells me the first day of use of a category by
id.
#Calculate
time difference
test$tdiff<-as.numeric(difftime(as.Date("2002-09-01"), test$ftime, units = "days"))
#
obtain the index date per person and dcategory
index.date.test<-tapply(test$tdiff,
list(test$id, test$rcat), max)
Nonetheless,
at the moment I think will be
2010 Jul 28
1
Gecko engine installation failure
New user to ubuntu and wine...almost ready to throw in the towel and revert to Win 7...except I do not like Microsoft and beleive that we need to support an alternative
Anyway I can't get Gecko to install correctly straight up or using the alternative installation instructions (cab regedit etc.)
Attached is a copy of the terminal report showing where I have been and the outcome of the
2004 Feb 19
1
Process R segmentation with strsplit() (PR#6601)
Getting a crash with R1.8.1 on windows 2000 an linux with the strsplit.
Version:
platform = i386-pc-mingw32
arch = i386
os = mingw32
system = i386, mingw32
status =
major = 1
minor = 8.1
year = 2003
month = 11
day = 21
language = R
Version:
platform = i386-pc-mingw32
arch = i386
os = mingw32
system = i386, mingw32
status =
major = 1
minor = 8.1
year = 2003
month = 11
day =
2004 Nov 11
6
scan or source a text file into a list
I've ported somebody else's rather cumbersome Matlab model to R for
colleagues that want a free build of the model with the same type of I/O.
The Matlab model reads a text file with the initial parameters specified as:
C:\Data\Carluc\Rport>more Params.R
# Number of years to simulate
nYears = 50;
# Initial year for graphing purposes
year0 = 1970;
# NPP/GPP ratio (cpp0 unitless)
fnr =
2014 Dec 02
3
Multiple samba servers with AD integration
Hi all,
I have a CentOS 6.6 machine with samba 3.6.23-12 that is joined to a
Windows active directory domain.
My goal is to configure multiple samba servers on the CentOS machine that
will authenticate using domain controller of the active directory.
DC = 1.1.1.1
CentOS 6.6 = 1.1.1.2
This is my smb.conf:
[global]
netbios aliases = development sales
include =
2014 Dec 02
0
Multiple samba servers with AD integration
On 02/12/14 13:36, Dennis Zheleznyak wrote:
> Hi all,
>
> I have a CentOS 6.6 machine with samba 3.6.23-12 that is joined to a
> Windows active directory domain.
>
> My goal is to configure multiple samba servers on the CentOS machine that
> will authenticate using domain controller of the active directory.
>
> DC = 1.1.1.1
> CentOS 6.6 = 1.1.1.2
>
> This is my
2012 Jul 22
2
maildir_copy_with_hardlinks on v.2.0.19
Hi,
I'm trying to get the so-called "single instance store" (I think cyrus
has got the name for the first time) with dovecot --version = 2.0.19
binary package installed from ubuntu 12.04 lts official repo.
I have checked that "maildir_copy_with_hardlinks" is enabled ("dovecot
-a|grep hard" shows "yes") then I have installed and enabled the lmtp
2002 Apr 06
1
read.table and trouble
Hi all,
I'm porting a library I wrote in S-plus over to R. All but one of the
functions work fine. The only one that doesn't is really giving me a
headache. I'm admitting defeat. Can anybody help?
Object example3 has been read in using read.table. The statement works fine
in S-Plus.
When I run the same statement in R the column Prefix, which is read in using
the
as.character
2009 Apr 26
7
Bumps chart in R
Hi there,
I would like to make a 'bumps chart' like the ones described e.g.
here: http://junkcharts.typepad.com/junk_charts/bumps_chart/
Purpose: I'd like to plot the proportion of people in select countries
living for less then one USD pr day in 1994 and 2004 respectively. I
have already constructed a barplot - but I think a bumps chart would
be better
# The barplot and data
2006 Aug 17
1
Strange apache behaviour
Hi Centos folks!
I'm trying to get a file with wget from Apache on Centos 3 and it doesnt
succed.
What could be the cause of this what is the resource that is not available,
whats your oppinion?
strace short output
---------------------------
read(14, "GET /centos/3/os/i386/heade"..., 8000) = 133
read(5, 0xbfff99f3, 1) = -1 EAGAIN (Resource temporarily
unavailable)
2004 Nov 24
2
Files being corrupted on export, md5sums don't match.
(smb.conf attached)
When i mount the exported shares on my computer on either it or
another machine they get damaged during transfer, for example i made a
file in my shared folder with the contents "this is a test", mounted
that folder at /mnt/losmb/, resaults below:
$ cat /home/share/test
this is a test
$ cat /mnt/losmb/test
J?SMB.?$
$ md5sum /home/share/test && du -s
2004 Dec 02
1
Arrow and text on a 3d plot
I am currently working on surface plots (with R 2.0.1) and I want to
improve the aspect of them. Having a typical 'cow-boy hat' surface
[source: Spector (1994), p. 206]:
pts <- seq(from = -8, to = 8, length = 50)
cow <- function(x, y)
{
z <- sqrt(x^2+y^2)
sin(z)/z
}
out <- outer(pts, pts, cow)
sur <- persp(x=pts, y=pts, z=out, theta=45, phi=30)
What I exactly wanted is:
2012 Sep 04
3
Comparing Von Bertalanffy Growth Curves
I am trying to compare Vbert growth curves from several years of fish data. I am following the code provided by: http://www.ncfaculty.net/dogle/fishR/gnrlex/VonBertalanffy/VonBertalanffy.pdf. Specifically the section on VBGM Comparisons between groups.
?
This code is pretty cut and dry. I am able to run it perfectly with the "fake" data that is provided. But when I run it with my own
2007 Jun 25
2
changing the position of the y label (ylab)
How can I change the position of the ylab, after
enlarging the margins with par(mar=...)?
Here is the relevant code snippet
----
par(mar=c(5.1,5.1,4.1,2.1))
plot(c(1979,2003),c(40,50),ylim=c(1,73),lab=c(20,10,1),pch=21,col='blue',bg='blue',axes=FALSE,xlab="Years",ylab="Onset/Withdrawl
Date",font.lab=2)
box()
axis(1,las=2)
2003 May 08
3
again troubles with lattice
Dear r-help community,
Thank you for your previous answers!
Now I have strange behaviour of the lattice library funcitons.
They do not draw graphics in the file when called from the script.
I created the script file, called, for example, "a.R", containing
the following
library(lattice);
trellis.device(device="png",
filename="a.png",
2007 Jul 29
0
Reading an email from an mbox file and resending to a different address without modification
Greetings,
I''m trying to emulate the "Redirect" function of some email clients
but am not having much success. I am sending messages with
ActionMailer templates just fine so I''m pretty sure my environment is
set up correctly and that my mail server is accepting the messages to
relay.
I am reading messages out of an mbox file and parsing them into RMail
objects with