[R] image function with large matrices
ccolling at purdue.edu
Thu Apr 21 22:22:10 CEST 2011
Hi, I am new to R.
With the command below, I generated the image on the left in R.
On the right, with the same data (x,y,z in columns), I generated a similar
image in SigmaPlot.
If you look at the R image, one can see that the resolution is low. Even
though the data
represents a 131 X 131 matrix, there appears to be only approximately 40 X
I was wondering how I could generate an image in R that looks similar to the
to the one I produced
SigmaPlot. Should I use a different function, such as heatmap or contour?
I noticed that the interp function does not work with the heatmap function.
Should I convert my xyz column data into a matrix to make things simpler?
There are also a few other questions that I have that could be helpful for
me in the future in regards to
legends, automated scaling, grids, and labeling, but I think I may ask those
at a later time or figure that out on my own. But if you have some helpful
tips, please let me know.
image(interp(ytar_rcayrtgy$V2, ytar_rcayrtgy$V4, ytar_rcayrtgy$V5))
View this message in context: http://r.789695.n4.nabble.com/image-function-with-large-matrices-tp3466765p3466765.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help