Displaying 20 results from an estimated 10000 matches similar to: "Y average in plot"
2010 May 13
1
ESP Ghostscrip ...
Hello All:
Could anybody tell me please what is the meaning of this error message:
ESP Ghostscript 815.02: Unrecoverable error, exit code 1
Error in plot.xy(xy, type, ...) : ignoring SIGPIPE signal
Calls: plot -> plot.default -> plot.xy
Execution halted
My code has to go to 18 loops for three times and in each loop it has to
read a file which is 100-300 Megs. It always crashes at loop 14
2009 Aug 06
2
Ylim
Hello All:
Can anybody tell me what is the problem with my program please. I have an
error message as appears below.
My program is:
ifn <- "Jul08_09.LM"
data <- read.table(ifn)
ofn <- "Jul.png"
bitmap(ofn, type = "png256", width = 30, height = 30, pointsize = 30, bg =
"white",res=50)
par(mar=c(5, 5, 3, 2),lwd=5)
2009 Jul 27
3
numbers on barplot
Hello all,
I have this simple barplot code:
ifn <- "id.dat"
dat <- read.table(ifn)
ofn <- "id.png"
bitmap(ofn, type = "png256", width = 30, height = 30, pointsize = 30, bg =
"white",res=50)
par(mar=c(5, 5, 3, 2),lwd=5)
par(cex.main=1.6,cex.lab=1.6,cex.axis=1.6)
names(dat)<-c("NumberOfPeople","Average")
2010 May 12
2
plot error
Hello All:
I am having the following error message when I increase the resolution
("res=30" to "res=350") of my graph:
Error in plot.xy(xy, type, ...) : ignoring SIGPIPE signal
Calls: plot -> plot.default -> plot.xy
Execution halted
Here is the code:
ofn <- "MAY11.png"
bitmap(ofn, type = "png256", width = 21, height = 30, pointsize = 30, bg =
2009 Aug 13
1
reading a string
Hello All:
I am having the following data file named "data.dat"
Number of people
Number of pets
Age of trees
ifn <- "data.dat"
dat <- read.table(ifn)
colnames(dat)<-c("Variables")
I want R to read all these in a string but when I ask R to read these,
it gives me error because there more than one word in each line. Any
comments to solve this problem?
2009 Jul 30
1
reading a file
Hello there,
I have the following info in MyData:
01 0.40
02 0.40
03 0.40
04 0.35
05 0.34
06 0.33
I want to read them using the following code:
ifn <- "MyData"
dat <- read.table(ifn)
names(dat1)<-c("Code","M")
names(dat2)<-c("Code","M")
I want to have the first three lines in
2010 Sep 29
1
graph margins
Hello All,
I am drawing a graph having 18 small graphs inside using par(mfrow = c(6,3))
command. My problem is how to specify the margins of the whole 18 graphs. I
used par(mar=c(6.5, 6.5, 1.5, 1.5)) for each graph separately already but it
does not left any margins for the 'mtext()' for the margins of the whole 18
graphs. Any comments please.
Thanks,
MJK
[[alternative HTML version
2010 Oct 01
1
mhtplot?
Hello All:
I was wondering why many plot options are not working with mhtplot. I could
not find much info about this function on the web too. Any comments, any
detailed manual ...
Thanks,
MJK
[[alternative HTML version deleted]]
1999 Oct 04
1
bitmap copies of plots
Michael Lapsley was suggesting on R-help direct copies to gif/png/jpeg.
The following seems to do a sensible job for me of copying the current
device to any bitmap format supported by gs. The manipulation is needed
to work around assumptions made by postscript(), and I think better fixed
in postscript() (but not a couple of days before a release).
I want to make onefile=FALSE work on
2009 Jan 19
1
patch for textspecial and defaultfont in xfig
Hello,
The current xfig device lacks the functionality to set the
textspecial flag and use the defaultfont in xfig. This is necessary
when you want to export to xfig and use interpreted text (e.g., $
\frac{1}{e}$ gets interpreted by latex). The attached patch adds this
functionality.
Why would you like to do this?
- Use math in labels (e.g., name your variables $r_{xy}$, do a
2007 Mar 31
1
Too long pathname in bitmap() crashes R on WinXP
Hi,
using too long pathnames for bitmap() crash R on WinXP. I've verified
that this is the case with R version 2.4.1 Patched (2007-03-25 r40958)
and R version 2.5.0 alpha (2007-03-30 r40957). I cannot reproduce it
on Linux.
REPRODUCIBLE EXAMPLE:
% Rterm --vanilla
# Tell R where Ghostscript is
gsexe <- "C:/gs/gs8.54/bin/gswin32c.exe";
gsexe <- "C:/Program
2003 Apr 01
2
Autogenerated png, bitmap images
I have two questions -
1. I am trying to create R png graphs via cron. I have this part working
using Xvfb (X virtual frame buffer). One problem that I have, though, is
that all the fonts on my graphs get messed up. Anybody have any nija R
commands to make all fonts look great? Anybody have any idea how to fix
this? So far, no luck on Solaris or Linux making the Xvfb fonts look
good.
I was
2008 Apr 22
1
plot(x) in 2.7.0 (with y=NULL) proposed code correction
Hi all:
following the previous discussion, it looks like plot(x) with y=NULL
still does not work correctly. If one tries for example plot(1:5) it
works, but already for plot(runif(100)) it does not. I posted the
proposed correction for plot.POSIXct and plot.POSIXlt before. Please
voice your opinions whether the following fix for plot.default could be
reasonable? I include the full function and
2020 Jun 21
2
Server did not shut down
2004 Oct 14
2
fidelity of generated raster images (R and perl)
Hi:
Goal: use R to turn a matrix of 1's and 0's
into a corresponding image (e.g. png)
of black and white pixels.
Why R: Yes, I can do this more efficiently and precisely
with a perl module like Image::PBM. Been there,
done that many times, etc. (Just humor me.
I'm trying to do this with R for a number of reasons.)
Problem:
2009 Mar 01
0
Wishlist for plot.lm() (PR#13560)
Full_Name: John Maindonald
Version: R-2.8.1
OS: MacOS X 10.5.6
Submission from: (NULL) (203.173.3.75)
The following code demonstrates an annoyance with plot.lm():
library(DAAGxtras)
x11(width=3.75, height=4)
nihills.lm <- lm(log(time) ~ log(dist) + log(climb), data = nihills)
plot(nihills.lm, which=5)
OR try the following
xy <- data.frame(x=c(3,1:5), y=c(-2, 1:5))
plot(lm(y ~ x,
2009 Feb 17
1
plot.lm: "Cook's distance" label can overplot point labels
The following code demonstrates an annoyance with plot.lm():
library(DAAGxtras)
x11(width=3.75, height=4)
nihills.lm <- lm(log(time) ~ log(dist) + log(climb), data = nihills)
plot(nihills.lm, which=5)
OR try the following
xy <- data.frame(x=c(3,1:5), y=c(-2, 1:5))
plot(lm(y ~ x, data=xy), which=5)
The "Cook's distance" text overplots the label for the point with the
2008 Dec 10
0
how to set font size in 'pt'
Dear all,
I need to make a publication quality figure.
Axis labels and xy labels should be written in a given font type and font
size in "pt" but not in "px" or "inch".
I tried dev2bitmap(... , pointsize= ) and pdf(... , pointsize= ) but I
couldn't do what I want.
I heard that many people use R to plot publication quality figures and
tried.
How did you write
2011 Jul 01
0
How to filter XY pairs of inacurate gps position along track, taking into account the time index to not mix track from different days in one average track
Dear R users,
subject: How to filter XY pairs of inacurate gps position along track, taking into account the time index to not mix track from different days in one average track
or subject as: How to filter XY pairs of inacurate gps position: (latitude, longtitude)
to get estimated correct position before calculating track
i.e.
How to estimate (time series? )?
How to filter XY pairs of
2007 Mar 27
1
"Groups" in XYPLOT
I'm not sure I'm barking up the right tree here, but would I need to make
use of groups to plot two separate datasets within ONE panel in xyplot? The
desired end result is a single xy plot of two separate (but similar in
values and ranges).
Full code follows, xyplot code at bottom
#########Determine Frequencies
##########coastal_slope
#needs the maptools package to read ESRI grid