similar to: MAtrix addressing

Displaying 20 results from an estimated 80000 matches similar to: "MAtrix addressing"

2011 Jan 26
0
Fwd: MAtrix addressing
Begin forwarded message: > From: David Winsemius <dwinsemius at comcast.net> > Date: January 26, 2011 8:32:30 AM EST > To: Alaios <alaios at yahoo.com> > Subject: Re: [R] MAtrix addressing > > > On Jan 26, 2011, at 7:58 AM, Alaios wrote: > >> Unfortunately right now is convoluted... by I was trying to find >> some solution. >> Bring again
2013 Oct 25
1
add a color band
Hi all, I would like to ask your help to add a color band (Ι am not sure regarding the right term, this color band at the right of the plot "describing" values with their corresponding color. For now I have only this code test<-matrix(data=runif(10000),nrow=100) plot(test,axes="FALSE") axis(1,at=c(0,1),labels=c("a","b")) # but  I would like to add
2006 Sep 26
1
How to "Pack" a matrix
Hello, Suppose I have a matrix a where a= sp1 sp2 sp3 sp4 sp5 sp6 site1 1 0 1 1 0 1 site2 1 0 1 1 0 1 site3 1 1 1 1 1 1 site4 0 1 1 1 0 1 site5 0 0 1 0 0 1 site6 0 0 1 0 1 0 And I want to pack that matrix so that the upper left corner contains most of the ones and the bottom right corner contains most of the zeros so that matrix b is b= sp3 sp6 sp4 sp1 sp2 sp5 site1 1 1 1 1 0 0 site2
2008 Mar 06
1
order the plots using lattice
Dear all, I am running something similar to this short example: library("lattice") library("geneplotter") X=matrix(cbind(1:100,100:1,c(1:50,50:1)),ncol=3) Y=matrix(cbind(1:100,1:100,1:100),ncol=3) names=1:3 dummy.df = data.frame(names = factor(names, levels = names), x = seq_along(names), y = seq_along(names)) xyplot(y ~ x | names, dummy.df, xlim = c(1,100),
2005 Jul 20
1
help with a xyplot legend
Hi, I try to put a legend in a xyplot graphic. xyplot(y~x|g,ylim=c(0,80),xlim=c(10,40),as.table=T,layout=c(2,3), ylab="N??mero de machos capturados",xlab=expression(paste("Temperatura (",degree,"C)")), key=list(corner=c(0,0),x=0, y=0, text=list(legenda),lines=list(col=cor, lwd = espessura, lty=linha),columns=7,between=0.5,betwen.columns=0.5,cex=0.8)) The problem
2009 Jan 14
4
How to get legend outside of plot?
I am creating a CDF plot function more user-friendly than any default r function. Depending upon the bimodality of the data (it is often bimodal), or any other strange data trends, the points can end up gathering in just about any corner of the plot. So, when I add a legend, whether I choose to add it in the bottom right, top left, or wherever, it will sometimes end up putting the legend right
2007 Feb 20
2
scaler plugin fixes
Hi I think this is mostly a question of preference for my part, but I think it would give an overall better quality feel. What I'm talking about is mostly the movement it uses. As I've come to understand, it uses velocity and direction, and a target point. This means that it updates it velocity and direction every X seconds (timestep), and gives it the possibility to be
2012 Mar 12
3
How to plot diagonal line at any coordinate range in R
Dear expert How can we plot diagonal across (from bottom-left-hand corner to top right-hand corner), at any given coordinate range For example > plot(c(-2,3), c(-1,5), type = "n", xlab="x", ylab="y", asp = 1) or > plot(c(0,1000), c(0,334), type = "n", xlab="x", ylab="y", asp = 1) I tried abline with the following but failed:
2009 Oct 25
1
rotate levelplot
Hi all, I have a matrix with 5 rows and 10 columns, which represent the grids on a rectangular map. I used the code below to plot, but it gives me the map with the 10 columns as y-axis, and the 5 rows as the x-axis, and the (0,0) point is at the usual bottom left hand corner. My map starts with the (0,0) at the top left hand corner. How can I rotate the map 90 degrees clockwise so the (0,0)
2000 Dec 29
1
dev.copy2eps: position of figure on page
The definition for dev.copy2eps contains the following line: oc$paper <- "special" The result of this is that the output will be placed in the left bottom corner of the page. Even though dev.copy2eps is meant for creating files that are to be included into other documents, you might want to print the figure directly, just to see how it will look on paper. (Of course, this will
2006 Nov 04
2
Placing of legends
Hello, placings of legends is sometimes tricky. For placing outside the plot region I found locator to be useful. Unfortunately, the click defines the upper left corner. Is there a way to change this corner (say lower right corner)? Thanks, Christian
2009 Dec 03
2
adding bmp/jpg/gif to an existing plot
Hi, all. I searched a lot at mailing list, installed EBImage and gtk packages, but I couldn't make this simple work: How to add a image file (jpg or bmp ou gif) to an existing plot window (not plot over the image), like the code below (pseudo function add.image): plot(1:10,1:10,main="test") image = read.X("myimage.jpg") add.image(image, x.left=2, y.bottom=4,
2013 Feb 14
2
Plot a Matrix as an Image with ggplot
Dear all, I am trying to plot a matrix I have? as an image str(matrixToPlot) ?num [1:21, 1:66] 0 0 0 0 0 0 0 0 0 0 . ?that contains only 0s and 1s, where the xlabel will be Labeled as str(xLabel) ?num [1:66] 1e+09 1e+09 1e+09 1e+09 1e+09 ... and the yLabels will be labeled as str(yLabel) ?num [1:21] -88 -87 -86 -85 -84 -83 -82 -81 -80 -79 ... I have found on the internet that I can do
2004 Jul 10
3
Printing banners
Hi I'm running Samba 2.2.8a on a UnixWare 7.1.3 box. I'd set up the Samba printer shares, and it seemed to be working fine (only live for a couple of weeks). However, I've just added some heavy users, and the printer daemon keeps bombing out. I'd configured the printers to use lpr, but someone suggested I should use lp, so I thought I'd give this a go at the weekend.
2008 Apr 14
2
Plotting with exact axis limits
Hello, If I make a plot, say something simple like plot( runif(100) ) then the origin (0,0) is not at the bottom-left corner of the box surrounding the plot. The axis limits are "padded" slightly. This is ordinarily a good feature, because it makes plots look better. But now I would like to make a plot with the origin exactly on the bottom left. Through trial and error, I have
2011 Aug 17
2
Lattice: problem with setting space between plot and legend
Dear R Users, I am writing code to present my output data (I'm using Lattice Package). However, it's essential for me to control space between barchart and legend. I've read the package's specification, but unfortunately I haven't spot the information how to do this. Here's the code I've written: barchart(mymatrix[,1:ncol(mymatrix)],horizontal=FALSE,
2011 Feb 03
2
"Matrix' with Functions
Dear R members, I have a quite large of function that are named like that f11,f12,...f15 f21,f22,...f25 .. f51,f52,...f52 These are static (hard-coded) functions that the only common they have is that they take the same number and type of input fij(a,b,c,d). As you might understand this is really close to the notion of matrix only that my 'matrix' contains functions. It would be great if
2009 Feb 04
1
lattice key inside panel
Hello, I am trying to draw a key inside a single panel in a lattice xyplot. The panel function uses panel.number() to use a slightly different style for one of the panels. Once inside than panel I am using draw.key(list(text=list(lab='catch'), lines=list(lwd=c(2)), text=list(lab='landings'), rectangles=list(col=rgb(0.1, 0.1, 0, 0.1)), x=0,
2009 Jul 15
3
Axes origins and labeling
I have re-labeled tick marks on the x axis. The problem is that by using axes=FALSE, the axes disappears and when they are called back using axis(side=1)..etc. the axis on sides 1 and 2 do not meet at the bottom left corner of the graph. I would also like to have the 3rd and 4th axes in there as well, all meeting in their respective corners. par(mfrow=c(1,2)) gut<-c("Full",
2009 Nov 30
1
Plotting color.legend() outside of plot region
Dear List, I am trying to plot a color.legend() in the right outer margin of my device region. I have read multiple threads on the subject and still can't get it right. I have stolen an example from one of the threads to demonstrate my problem. I have extended the outer margin using par(oma()), and have used par(xpd=NA) to tell it to plot in the device region. I can get the legend to plot