Displaying 20 results from an estimated 7000 matches similar to: "refering to the 'boundaries' of a graph"
2009 Dec 28
3
graph shading is overlaying axes
How can I resolve this problem?...
As a general example,
plot (1:4)
polygon(c(0,0,5,5),c(0,5,5,0), border="lavenderblush1", col =
"lavenderblush1")
###see how this overlays the axes lines
#I have tried...
for (k in 1:4)  axis(k, lwd.ticks=0, label=F)
#...but this misses the corners
Any suggestions?
-- 
View this message in context:
2009 Jul 30
5
Grid lines
Hi everyone. I am new to R.
It will be greatly appreciated if someone can help me with the following
questions.
Here's the graph I have just produced. 
http://www.nabble.com/file/p24732839/calibration.jpeg 
(1) How can I put the legend on top of the grid lines?
(2) How can I match the grid lines with the x-axis ticks?
(3) How can I change the x-axis format from e.g. Mar, Apr...etc to
2009 Mar 21
1
Forestplot () box size question
Hi All,
I have been able to modify the x-axis to start at zero by adding xlow 
and xhigh parameters; that was pretty simple.  I have been unable to 
find the location of the code that would turn off the information 
weighting of the box size (I have smaller randomized trials getting 
less weight than a much larger non-randomized trial).  The function 
is forestplot() from rmeta.
Thanks for any
2002 Feb 06
3
Help plot
Hello,
I would like plot a vector and want to specify the Xticks which will be
displayed.  Is it possible ?
For example, suppose that x is a vector of length 3. I just want the
Xticks (and the corresponding labels)
for 1 2 and 3 to be displayed ( and not 1, 1.5, 2,2.5, ....) .
Thanks
--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Olivier MARTIN
PhD student                 
2008 Jan 25
3
plotting gridlines
dear all,
I have a very simple question but I could not figure out.
I need to make plots with grid in the background.
something like I old retrive like this
a=runif(100)*10
b=runif(100)*10
plot(a,b, pch=20, xlim=c(0, round(max(a))), ylim=c(0, round(max(b))))
vs=seq(0, max(a), 0.5)
for(i in 1:length(vs)){
   abline(v=vs[i], col="lightgrey")
}
hs=seq(0, max(b), 0.5)
for(i in
2019 Feb 28
2
R cairo_pdf function does not respect plotting boundaries
Hello all,
When producing a plot in R using the cairo_pdf device, the resultant plot does not respect the plotting boundaries. Lines and shaded regions will spill over the lower x-axis and the right-side y-axis (sides 1 and 4). I would like to know if it is possible to fix this behaviour when using 'cairo_pdf' in R?
As an example, see the image at this web link:
2019 Feb 28
2
R cairo_pdf function does not respect plotting boundaries
Hello all,
When producing a plot in R using the cairo_pdf device, the resultant plot does not respect the plotting boundaries. Lines and shaded regions will spill over the lower x-axis and the right-side y-axis (sides 1 and 4). I would like to know if it is possible to fix this behaviour when using 'cairo_pdf' in R?
As an example, see the image at this web link:
2007 Jul 10
6
Having trouble using data returned by Ajax.request
Hello everyone, I''m new here.
I''ve been working with prototype and plotr for about a month now, off
and on, and I have pretty much hit the wall on using the data returned
by Ajax.Request.
I''m using some php code to return a string:
{''foo'': [[0,0.0865334429075127], [1,0.0828179861705063],
[2,0.0828173042602942], [3,0.0841707718624196]]}
But I keep
2019 Mar 05
1
[R] [FORGED] R cairo_pdf function does not respect plotting boundaries
Hi
(cc'ed to r-devel where further discussion should probably take place)
Thanks Lee.  I see that problem.
There is a "+ 1" in the Cairo device code for setting the clipping region
(https://github.com/wch/r-source/blob/ba600867f2a94e46cf9eb75dc8b37f12b08a4561/src/library/grDevices/src/cairo/cairoFns.c#L156) 
Remove the "+ 1" and the problem goes away (for your example
2009 Oct 01
4
Color of graph
I am trying to plot a line graph for 3 or more regression lines
abline(m1)
abline(m2)
abline(m3)
Can I change the color of each line? if so how?
Thanks in advance
Ashta
	[[alternative HTML version deleted]]
2009 Feb 12
3
Adding abline in Lattice graph
Hi,I would like add a horizontal line at 126 (col=red) and a vertical line
at 6.5 ( col= blue) in each panel .How should I use the panel.abline
function in the following code I am using:
------------------
library(lattice)
with(reg.dat.5,coplot(lbxglu~lbxgh|eth,panel=panel.smooth,xlab="ABC",
ylab="FBG"))
----------------------------------------
Thanks a lot.
Professor of
2010 Aug 12
3
Plotting one dot in a graph
I'd like to plot a point at the intersection of these two curves. Thanks
x <- seq(.2, .3, by = .01)
f <- function(x){
	x*cos(x)-2*x**2+3*x-1
}
plot(x,f(x), type = "l")
abline(h = 0)
2008 Feb 21
2
coloring a graph left or right of an abline
Dear R community,
   I would wish to color the background of my histogram differently to the
left and right of an abline... Can you please help?
Thankin you,
Georg.
****************************
Georg Ehret
JHU
Baltimore - USA
	[[alternative HTML version deleted]]
2002 Aug 20
4
plot and bg
Hi all,
I would like to plot some points and define the bg color of my graphics.
But the bg parameter set is defined for the. whole graphic.
In fact, i would like to use something like :
box(bg=gray(0.9)).
So, the background  concerns only the plot region  and not the main 
title, the x title and the y title.
The option col for the function box() concerns the contour and there is 
no option
2004 Sep 28
6
VM Remote access options
Just to error test my own thinking here, there seems to be the following
options for remote graphical access to a running domian vm.  Besides the
normal network service via a port and a raw console, the options are 
straight X, VNC, and XN.
X - supports a single X window running on a local XServer, tied to a single
process on the remote system.  No remote desktop
VNC - comes in two flavors of
2017 Sep 19
3
Graph f(x) = 1/x
Dear All: good morning
I am trying to graph the function y=f(x)=1/x over the interval (-5,5). But
I am getting an error message. Please see below.
I am getting the error message: *Error in xy.coords(x, y, xlabel, ylabel,
log) : *
*  'x' and 'y' lengths differ*
x
x <- seq(-5, 5, 0.01)
y < 1/x
plot(x,y, type='l', xlim=c(-5, 5), ylim=c(-5, 5), xlab = "x",
2011 Sep 03
2
Change properties of line summary in interaction.plot
Is it possible to change the color/thickness of the summary line in an
interaction.plot without changing the other individual data lines?  I would
like to make the line from the summary function (mean) the color red and
thicker than the surrounding black lines.  How can I do that?
Here is a link to interaction.plot:
http://stat.ethz.ch/R-manual/R-patched/library/stats/html/interaction.plot.html
2008 Oct 17
1
use of empty space in split graph device
Hi all,
 
I divide the graphical device into 4 ---mfrow=c(2,2)--- to plot 3 boxplots
graph.
Thus I get an empty space for the fourth graph. I d'like to place a legend
in this space.
 
legend(xxxx) creates a legend in the last graph (the 3rd) I'd like a legend
in the empty space.
 
How may I do it?
 
#graph parameter
par( fin=c(6,6),   #dim graph
 mai=c(1,1,0.5,0.5) #marges graph
2006 Nov 27
1
x axis on sciplot
Is it possible to format the x axis, so that days are spaced
proportionately?
i.e. a larger space between 50 & 100, than 0 and 5?
Have not had any luck with axis.POSIXct().
Many thanks
Murray
try <-
structure(list(visit = structure(as.integer(c(1, 2, 3, 4, 5,
1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1,
2, 3, 4, 5)), .Label = c("Screening", "0",
2004 Jan 14
1
Trellis graph and two colors display
Hello,
I would like to display two groups of dots in different colors or style and additionnaly a linear regression for all the dots in
panel plots of a Trellis graph.  Actually to get in each panel the equivalent of:
plot(x[mois==3],y[mois==3],col="blue")
points(x[mois==9],y[mois==9],col="red")
abline(lm(y~x), col="green")
"mois" being a grouping