Displaying 20 results from an estimated 500 matches similar to: "Plot time range with rect or boxplot"
2010 Oct 11
1
Lattice::bwplot unexpected behaviour when using vector of colors
Hi,
I'm trying to produce colored boxplots using lattice::bwplot function. I need to plot each boxplot in the panel with a specific color. Naturally I used a vector of colors and expected to see colored boxplots. Although the boxplots were colored, the color of whiskers and the boxes do not match. Here is an example:
d = data.frame(y = rnorm(100), x=1:4)
box.color <-
2010 Oct 11
1
Lattice::bwplot unexpected behaviour when using vector of colors
Hi,
I'm trying to produce colored boxplots using lattice::bwplot function. I need to plot each boxplot in the panel with a specific color. Naturally I used a vector of colors and expected to see colored boxplots. Although the boxplots were colored, the color of whiskers and the boxes do not match. Here is an example:
d = data.frame(y = rnorm(100), x=1:4)
box.color <-
2012 May 15
1
double buffering in windows() not working
I have doubled buffered animations that I show in class.
They used to work but now flash.
The default windows() option is buffered = TRUE.
Just in case, I tried using windows( buffered = TRUE)
but this made no difference.
I am not sure when the change occurred.
An older R2.11 version in one class room worked.
R2.14.1, R2.14.2 and R2.15 don't work on my computer.
Some of the animations
2012 Apr 19
1
working with environments to ensure code quality for long R scripts
Hello, I am working under R2.11 Windows and currently I work on a big R
progjet which executes different R script in a row. Every R script
represents a module. As every module depends of the variables created in the
modules previously executed, I want to be shure, that I don't create or
change a variable in a scriptwithout being aware that this affects the
results in a later executed script.
2010 Jul 09
4
Mysterious behavior
I had trouble with some tests for the survival suite last night that I
cannot explain.
Framework: Ubuntu Linux, R2.11.
For testing survival I have a separate directory and Makefile. I
pull everything into the local .RData, no packages, library, or
namespace. (It's easier to add test modifications to a routine in a
chain of calls).
A test of survreg + psline would fail because
2012 May 24
3
set tkscale by tkentry
Hi, I am working under Windows and I am using R2.11
I want to use tkscale in my GUI. As the interval is quite big, I can't set
the scale to a certain specific value. Therefore I want to add tkentry to
allow the user to set tkscale to a certain value.
Here is the code
library(tcltk)
tt<-tktoplevel()
tkpack(m1<-tkscale(tt,from=306870.00, to=3026741, label="alpha",
2010 Oct 08
0
Plot data on year/mon/day
Hi,
I am trying to use rect (R2.11) to plot a set of data as following
Company
Pt
Pri
Pub
A
W200
4/5/2009
3/11/2010
B
W293
2/30/2003
3/24/2005
A
W258
2/8/2008
8/17/2010
C
W248
5/13/2009
1/2/2010
%y <- seq(0,0.5*(length(company)-1),0.5)
%h <- 0.1
%rect(pri, y-h, pub, y+h, col=c("light blue","pink","yellow","red"))
I wonder if
2010 Nov 29
0
Updates for xlsReadWrite (1.5.3) and xlsReadWritePro (1.6.1/3)
The xlsReadWrite[Pro] packages allow to natively read/write Excel files (.xls)
on the Win 32-bit platform.
About a week ago new package versions have been released:
* xlsReadWrite 1.5.3 is available at CRAN (for R2.11/2.12) and from
www.swissr.org/download (binary builds for R2.9 - R2.12)
* xlsReadWritePro 1.6.3 is available from www.swissr.org/download
(binary builds for R2.9 - R2.12)
* (the
2010 Jun 07
0
R-SIG-Fedora Digest, Vol 21, Issue 3
Ranjit,
Thanks for the follow up, the open source community is incredible.
Long story short, I was able to install through the repositories. Then
cleaned up some other issues (tcl/tk, java and others) and did a custom
install of 2.10.
Which brings me to another question, when yum installed R2.11 as an update,
did it use the settings from the original 2.10 repository installation or
did it
2010 Jul 17
2
cca in vegan (formula instead of community matrix data)
Dear List,
I tried to do cca based on species data and environmental variables (formula
instead of community data).
However, there was an error saying row sums must be >0.
I searched the previous related messages but found few solutions.
Please kindly help and thank you in advance.
code
This is vegan 1.17-3
Warning message:
package 'vegan' was built under R version 2.10.1
2011 Oct 25
0
Installing rgeos on Mac OS X 10.4 (was Re: "package 'stringr' does not have a name space"
I figured it out, at least enough to get rgeos's gSimplify
function to work, which was my original goal; the stringr
problem was with 0.2, however I got stringr 0.5 to install
by changing the minimum version in DESCRIPTION from R2.11 to
R 2.10. ...
Thanks for the help!
#############
# This is how I got rgeos to install in R GUI on my Intel
Mac OS X 10.4:
#############
# stringr
2005 Sep 13
1
Rect.i and patch for wxRect.h
These files implement the wxRect class. I couldn''t think of any
particular reason not to implement this.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2011 Nov 09
1
Are there equivalents to xblocks or rect that can be used with plot.xts?
I would like to add vertical shaded blocks in plot.xts graphs (like recession
periods in FRED graphs)
The reason I use plot.xts instead of plot.zoo is that I like the fact that
the grid is automatically aligned with major ticks in plot.xts.
xblocks() and rect() do not seem to work with plot.xts (only with plot.zoo).
Are there any alternative methods that work with plot.xts?
Thanks.
--
View
2012 Aug 26
0
[ wxruby-Bugs-29632 ] Missing "=" in rect.rb
Bugs item #29632, was opened at 2012-08-26 08:38
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=29632&group_id=35
Category: Incorrect behavior
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: mark wonttell (runnerle)
Assigned to: Nobody (None)
Summary: Missing "=" in rect.rb
Initial Comment:
Hello,
in rect.rb on line
2000 Nov 29
0
abline() AND rect() do not obey "xpd" (clipping) (PR#750)
>>>>> "MM" == Martin Maechler <maechler@stat.math.ethz.ch> writes:
MM> This is not a bug in the very strict sense,
MM> but for consistency,
MM> I feel that
MM> abline()
MM> should obey par("xpd") setting, even by ...-argument.
MM> The following code shows how lines() ``works'' and abline() does not :
2004 Apr 05
1
rect.hclust fails when k is specified (PR#6740)
Full_Name: Ivan Egorov
Version: 1.8.1
OS: MS Windows 2000, SP4
Submission from: (NULL) (194.186.91.129)
V<-t(matrix(scan('C:/V3.dat'),3))
d<-dist(V)
hc<-hclust(d)
rect.hclust(hc,5)
Error message is displayed:
Read 24 items
Error in rect(m[which[n]] + 0.66, par("usr")[3], m[which[n] + 1] + 0.33, :
plot.new has not been called yet
Here's my data file
2006 Oct 19
2
bug in rect (PR#9307)
Full_Name: Joe Voelkel
Version: 2.4.0
OS: Windows XP
Submission from: (NULL) (129.21.11.37)
Using "border=NA" in the call to rect generates an error. But the help file says
border=NA is acceptable.
(The problem is that border=NA evaluates to TRUE for "is.logical(border)" inside
the function. Using rect with border=FALSE works fine)
2008 Jul 26
1
the C function drawing a rectangle: heatmap() -> image() -> do_image() -> GRect() -> GERect() -> rect() -> do_rect() -> GRect() ??
Hello anyone used to do similar things: search for the final C function that corresponding to the drawing of a rectangle?
As listed in the subject, I started from heatmap() in R and after several steps reached the GRect() in C. However, then it refers to rect() which further seems to refer to do_rect(), and then, surpringly, do_rect refers to GRect()!!! A dependency circle! How can it work if no
2009 Oct 14
1
rect function
Dear all,
I have a question about how to load data or (entering data )to each cell of
a rectangle created by rect .
e.g.
I have a matrix
rbind(1:2,1:2)
I have created a 2x2 rectangle by using:
a<-0:1/10
b<-0:1/10
kk<-expand.grid(a,b)
plot.new()
rect(kk[, 1], kk[, 2], kk[, 1] + .1,kk[, 2] + .1)
so how do we put the value of rbind(1:2,1:2) into the relevant
2010 Oct 27
1
How Plot, Axis and Rect work together?
Hello everyone,
I am trying to understand how plot axis and rect might work together
I would like to plot some values on a plot with x(0,100) and y(0,100) i want to
see all the values from 0,1,2,3,4,5,.....100 written in the x and y axis.
At the same time I want some grid to easily see when y and x values cross.
Finally I want to paint red two of the cells created by this grid.
I am trying