Displaying 20 results from an estimated 2000 matches similar to: "Values in horizontal versus vertical position on 'y' axe"
2007 Aug 12
1
Write values on y axe
Hi,
I have values on y axe from 0.0001 to 3.086. When I do plot I have writen
values: 0.001, 0.050,1.000 ..., but how I can write on graph the minimum
value and maximum value, with all decimals (I don't want to use the format
1e-0x)? I am using log scale.
For example, if I have the values:
0.0001
0.0015
0.0256
0.0236
....
0.0201
2.9668
3.0086
I need have each 'x' value put on y axe,
2007 Aug 12
2
Legend on graph
Hi,
I have a problem when I want to put a legend on the graph.
I do:
legend("topright", names(o), cex=0.9, col=plot_colors,lty=1:5, bty="n")
but the legend is writen into the graph (graphs' top but into the graph),
because I have values on this position. How can I write the legend on top
the graph without the legend writes on graph's values.
Thanks.
[[alternative
2007 Aug 05
1
Plot in log scale
Hi,
Forgive me, because I am new in R.
I need a graph, where:
- y axe has log scale
- graph would have 4 set values: set first (out$a) has values over 5.5, set
second (out$b) and third (out$c) has values over 0.005 and the last set
(out$d) has values over 0.0005 of y axe. For this reason, I need have log
scale on y axe.
I've look for web, but I can't do the graph that I need.
I try to do
2007 Aug 04
2
bars' values on barplot
Hi,
I need bars' values on barplot, and I don't know how I can put it. I do my
barplot as:
data<-read.table("/my_path/file.dat",header=T, sep="\t")
barplot(as.matrix(data),log="y",beside=TRUE,main="my_title", xlab="x name",
ylab="y name").
How can I add the values on each bar?
Thanks..
[[alternative HTML version deleted]]
2007 Sep 12
1
labels into graph
Hi,
I have a matrix as:
a b c
2 1 3
2 2 5
2 5 9
With values of this matrix, I draw a graph. Each row has a different
meaning. For this reason, I need put different names each row. For example:
mygraph
------------------- -------------------
--------------------
DescriptionA DescriptionB DescriptionC
2002 Feb 17
5
Horizontal Boxplot
Hello all.
I'm just a beginner trying to draw a boxplot and I don't know why every time
I try to make it horizontal I receive the error message "parameter
'horizontal' couldn't be set in high-level plot() function". Can anybody give
me an advice?
Here is the code:
opar <- par(ask = interactive() && (.Device == "X11" || .Device ==
2009 Aug 24
1
how to add 95% confidential interval as vertical lines to x axe in density plot
Dear R-help listers,
I want to add 95% confidential interval as vertical lines to x
axe in density plot. I have found the library(hdrcde) can do this
work, but I do not know
how to handle functions of this library when I used ggplot2 to draw the graph.
Thank you in advance.
The data and codes followed:
# dummy data
factor<-rep(c("Alice","Jone","Mike"),each=100)
2009 Aug 21
0
how to plot 95% confidential interval as vertical lines to x axe in density plot
Dear R-help listers,
Under the helps from the ggplot2 list, I have set up method of drawing
a graph with multiple density plots arranged one by one in one page.
Now, I want to add 95% confidential interval as vertical lines to x
axe in density plot. I have found the library(hdrcde) can do this
work, but I do not know
how to handle functions of this library when I used ggplot2 to draw the graph.
2006 Nov 07
2
xenU crashes on linux
any idea what the reason for this error is?
[2006-11-07 13:59:31 xend 3167] DEBUG (__init__:1072) exception looking
up device number for 0: [Errno 2] No such file or directory: ''/dev/0''
my config file looks like this:
name = "solaris"
memory = "400"
kernel = "/solaris/platform/i86xen/kernel/amd64/unix"
extra =
2012 Jan 05
2
Problem with axes in a plot of Kaplan-Meier
Helo:
After changing "involuntarily" some of the graphics parameters with
the command par() (I did not know that changes with this command are
permanent), now when I made a plot of the survival Kaplan-Meier
function, the Y axis does not start at 1, and the X axis does starts
at 0. The commands that I use are:
library(survival)
BROWN.SPV = Surv(BROWN$TEMPS, BROWN$DEF)
2006 Apr 28
4
par(mfror=c(1,2))
dear list,
i have a problem using the par function.
in one graphic device i want to have two plots so i tried to use
par(mfror=c(1,2)).
of course it worked out, but the height now is twice the length of the width
for each single plot.
what i actually wanted is something like par(mfrow=c(2,2)) where only the
top (or bottom)
two plots are drawn with entire length proportions of 1 to 2 ( height 1,
2007 Jan 02
3
graphical parameters: margins
Hi all,
Please, while using image() which is the graphical parameter which control the space between ylab and the y axis? I do need to write a number of relatively long y labels and I am not able the control, if possible, this space.
See the effect I need to avoid...
http://nvx.environmentalchange.net/@rrodriguez/images/overlapping.jpg
Thanks for your help,
Ricardo
--
Ricardo Rodr?guez
Your
2003 Dec 06
3
Axe time of series in format yy-mm-dd
I'm trying to plot a ibm stock time series.
I made the download of that series,
ibm <- get.hist.quote(instrument = "ibm", start = "2003-01-01",quote=c("CL"))
And ibm is a serie wiht this characteristic:
Start = 37623
End = 37960
Frequency = 1
When I try to plot it,
ts.plot(ibm)
In the graphic the axe time is represented by 37623 ... 37960, How can I put
2007 Mar 25
2
[PATCH] Vertical/Horizontal maximization in gtk-window-decorator
Here a patch to enable Vertical/Horizontal maximization in
gtk-window-decorator.
Cedric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtk-window-decorator_HorzVertMaximize.patch
Type: text/x-diff
Size: 1418 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/compiz/attachments/20070325/22d15360/gtk-window-decorator_HorzVertMaximize.bin
2009 Oct 02
1
suggest enhancement to segments and arrows to facilitate horizontal and vertical segments
I suggest a simple enhancement to segments() and arrows() to
facilitate drawing horizontal and vertical segments --
set default values for the second x and y arguments equal to the first set.
This is handy, especially when the expressions for coordinates are long.
Compare:
Segments:
< function (x0, y0, x1 = x0, y1 = y0, col = par("fg"), lty = par("lty"),
---
> function
2010 Jun 04
2
horizontal and vertical line with arrow in a plot
Hi r-users,
I would like to add a plot of vertical line segment with arrow from (77,.6) to (77,0) and also a horizontal line segment with arrow from (0,0.6) to (77,.6) . So far this is what I have:
plot(sq, cdf, type="l", lwd=4,col="blue",xaxs="i",yaxs="i", xlab= "Rainfall (mm)", ylab= "Random no.",
main="Random number and
2012 Feb 02
2
Vertical string with horizontal letters
I'm trying to format text on a plot such that the string is vertical but the letters are horizonal. I tried
text(1,1,label="output", srt=270)
This gives the string rotation I want, but that rotates the entire "output" so the letters are also rotated. I've also tried
text(1,1,label="output", srt=270, crt=270)
to no avail. par()$crt doesn't seem to affect
2010 Jun 29
2
transposing a data frame from horizontal to vertical (stacking)
Hello, everyone!
I have a very simple task - I have a data frame (see MyData below) and
I need to stack the data (see result below).
I wrote the syntax below - it's very basic and it does what I need.
But I am sure what I am trying to do is a very typical task and there
must be a much shorter/more elegant way of doing it.
Any advice?
Thank you very much!
2011 Feb 22
2
Plotting a functional time series
Hello,
I'm willing to plot a sequence of densities on a 3d graph, something like
-----------------------------------------------------------------
x <- sapply(1:10, function(i)rnorm(1000))
f <- sapply(1:10, function(i)density(x[,i], from=-5,to=5)$y)
grid <- density(x[,1], from=-5,to=5)$x
win.graph()
persp(grid1, 1:10, f,theta=-50, phi=30, d=2)
2006 May 16
3
multiple plots in a function()
Dear all,
I have the following problem:
I have written a function genereating to plots, eg
myfunction <- (data, some.parameters) {
#some calculations etc
.
par (mfrow=c(1,2))
plot1(......)
plot2(.....)
}
which works fine. But for analysing several variants, I tried a slope, eg:
par (mfrow=c(5,5))
for ( i in 1:10) {
myfunction(data, i)
}
Off