similar to: plot with the axes at xlim and ylim

Displaying 20 results from an estimated 1000 matches similar to: "plot with the axes at xlim and ylim"

2017 Dec 05
0
Rebooting cluster nodes - GFS3.8
On my setup at least, just issuing the reboot command works without any issue. I've done a number of rolling reboots for software / kernel upgrades in the manner you've described this way. The one gotcha I've found is when the node comes back online. I manually check healing to ensure that everything is synced and back online before taking other nodes offline. --- Thanks,
2007 Feb 20
1
Help with xlab and ylab distance from axes
Dear r-helpers, In basic graphics, I have a figure with x and y axes suppresed. I would like to move the xlab and the ylab closer to the axes. Do I have to use mtext()? _____________________________ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400 Charlottesville, VA 22904-4400 Parcels: Room 102 Gilmer Hall McCormick Road
2017 Dec 05
2
Rebooting cluster nodes - GFS3.8
I am running gluster ver 3.8 in a distributed replica 2 config. I need to reboot all my 8 cluster nodes to update my bios firmware. I would like to do a rolling update to my bios and keep up my cluster so my clients don't take an outage. Do I need to shutdown all gluster services on each node before I reboot? Or just issue the reboot. -------------- next part -------------- An HTML attachment
2010 Nov 22
2
xlim=c(min(x), max(x)) still produces extra margin on both sides of x axis in plot()
code: op <- par(bg='black',fg='gray',col='gray',col.axis='gray',col.lab='gray',col.main='gray',col.sub='gray',mai=c(0,0,0,0), tck = 0.01, mgp = c(0, -1.4, 0), mar=c(0,0,0,0)) plot(x,y,ylim=c(-20,20),xlim=c(min(x),max(x)),pch='X',col = rgb(1,1,1, 0.5),yaxt="n", ann=FALSE) abline(v=c(min(x),max(x)), lty=3,
2009 Feb 10
1
how to use axes=FALSE to get multple plots?
I am trying to plot two things on one graph, with a y-axis at the left for one variable, and a y-axis at the right, for the other variable. I thought I could do as follows par(mar=rep(4.5, 4)) plot(0:10, 10:20) par(new=TRUE) plot(0:10, 100:110, axes=FALSE) axis(4) but this writes both y-axis labels on the left-hand side, and nothing on the right-hand side. This is R 2.8.1 (2008-12-22) on
2008 Jul 21
2
Getting plot axes where they should be!
Hi Folks, I've been digging for the solution to this for several hours now. If there is a solution, it must be one of the worst "needle-in-a-haystack" examples in R documentation! Essentially, I want to make an x-y plot in which the X-axis really is the X-axis (i.e. its vertical position is at y=0), and the Y-axis really is the Y-axis (i.e. its horizontal position is at x=0).
2009 Dec 11
3
`mgp[1:3]' are of differing sign (PR#14130)
Full_Name: Cornell Gonschior Version: 2.10.0 OS: Linux Submission from: (NULL) (212.201.28.40) Hi, in the introduction to R, you can find the following sentence in the par() chapter: "Use tck=0.01 and mgp=c(1,-1.5,0) for internal tick marks." I thought that's nice, because I wanted to have tick marks and tick labels inside and the axis title outside. But: > plot(z, las=1,
2008 Jul 30
2
Mysql "lock wait timeout" tuning
We''re seeing these errors intermittently: ### Mysql::Error: Lock wait timeout exceeded; try restarting transaction: UPDATE `chairs` SET `published_at` = NULL, `updated_at` = ''2008-07-30 15:31:05'' WHERE `id` = 2147 [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/ connection_adapters/abstract_adapter.rb:147:in `log'' ### The root issue is probably
2010 Feb 06
1
Why does smoothScatter clip when xlim and ylim increased?
Hi: Is there a way to get smoothScatter to not clip when I increase the xlim and ylim parameters? Consider the following example: set.seed(17) x1<-rnorm(100) x2<-rnorm(100) smoothScatter(x1,x2) #Now if I increase xlim and ylim notice that the plot seems to be clipped at the former xlim, and ylim boundaries: smoothScatter(x1,x2, xlim=c(-5,5), ylim=c(-5,5)) Thanks. Jen sessionInfo() R
1999 Nov 15
1
xlim, ylim problem in barplot (PR#325)
Hi, all. The lower bound in a barplot (or the left bound if you're making a horizontal barplot) is -0.01 no matter what. This causes problems if you're making a barplot of small values (say, < .001), as most of the plot is taken up with blank space beneath the axis, and the bars are squeezed in at the top. The fix seems to be simple: replace lines 41: xlim <- range(-0.01,
2003 Aug 25
1
setting xlim and ylim with asp=1
In plot(), when using option asp=1 the xlim and ylim have no effect because they are changed changed in order to fill the whole plot region. Is there a way to automatically set xlim and ylim when asp has been set to 1? For example: #This is a box of the plot ranges I want: boxxy=rbind(c(-1,2),c(-1,-1),c(1,-1),c(1,2),c(-1,2)) #Without asp=1 I get what I want (i.e. I can't see the box because it
2007 Sep 20
1
ggplot and xlim/ylim
Hello everyone, I am (happily) using ggplot2 for all my plotting now and I wondered is there is an easy way to specify xlim and ylim somewhere when using the ggplot syntax, as opposed to the qplot syntax. Eg. qplot(data=mtcars,y=wt, x=qsec,xlim=c(0,30)) <-> ggplot(mtcars, aes(y=wt, x=qsec)) + geom_point() + ??? Indeed the ggplot syntax is in general more flexible and powerful and
2009 Feb 11
0
contour( ..., method='edge') incompatible with xlim & ylim
Hello, A colleague of mine in our oceanography lab has pointed out a slightly annoying imperfection with the contour plotting function. It appears that the 'edge' option for the 'method' parameter doesn't work very well (or at all?) when xlim and ylim are also set. The following code should recreate and demonstrate the problem:
2009 Jul 24
0
xlim and ylim on npudens (np package)
Hi - I'm just geting started with R, specifically needing to plot some 3D joint distribution functions estimated from data. Happily, the "np" package includes example code which gets most of the way there. The following tweak of the doc code gives me a nice cdf: library(np) library(datasets) data(faithful) f <- npudens(~eruptions+waiting,data=faithful) plot(f,cdf = TRUE,
2012 Jan 10
0
rworldmap: xlim, ylim do not change plotting region
Specifying xlim or ylim in the mapCountryData function of the rworldmap library do not alter the plotting region on my system. #Using the example from rworldmap library(rworldmap) mapCountryData() #uses the sample dataset mapCountryData(ylim = c(-45,45)) #makes no difference to the plot R 2.14.1 on Linux Mint 11 64bit. Thanks, Dan ________ Dr Dan Bebber Head of Climate Change Research,
2010 May 26
2
xlim/ylim and actual axis length
Dear plotting wizards, when plotting in R, the actual lengths of the axes are slightly greater than the ranges of the x/y variables or xlim/ylim values. how do I control the amount by which the axes are enlarged? Is there a way to enforce that the lengths of the axes equal xlim/ylim? example: plot(0:100,0:100,pch="+") it can be observed, that the x- and y-axis join at approx.
2008 Jul 24
1
plot.dendrogram xlim/ylim
list(...), I would like to zoom in to the leaves of large trees in a dendrogram plot. The playwith package allows zooming by passing xlim and ylim arguments to the plot call (Hmisc does this too I think). But currently stats:::plot.dendrogram does not accept xlim or ylim. So I would like to enable that. In place of the existing code chunk: xlim <- c(x1 - 1/2, x2 + 1/2) ylim <- c(0,
2009 Apr 22
1
reversing xlim, ylim in smoothScatter
Hello, I have found that in smoothScatter it is not possible to reverse the axes plotted (R version 2.9.0) .   It appears that this arises from the hard coding of xlim and ylim in smoothscatter.R in the lines : x <- x[ xlim[1] <= x[,1] & x[,1] <=xlim[2], ]   (line  number 25) and x <- x[ ylim[1] <= x[,2] & x[,2] <= ylim[2], ]  (line number 31) This results in a x
2004 Sep 22
1
pairs, panel.functions, xlim and ylim
Hi, I have the following problem. I wanted to get a matrix of scatterplots and I used pairs. I wanted to add the line y=x in each plot and I created a panel function for this scope. I used points and abline in the following way: ## put y=x in each plot panel.lin<- function(x, y) { points(x,y, pch=21, bg=par("bg"), col = "black",cex=2)
2007 Jun 19
2
axis labels in multiple plots
Hi, I'am trying to make a multiple bar plot over a map and I'm having difficulties with the distance between axes labels and the axis. Trying to control this with mgp does not help because it controls both axes simultaneously. For example, with default values (mgp = c(3, 1, 0)) y-axis labels are ok, but x-axis labels are not. Setting mgp = c(3, 0, 0) gives good x-axis labels but the