Re: [R] creating axis of the plot before data are plotted -- solved

2008-07-15 Thread Zroutik Zroutik
Solved. I tried to create a minimal example, but my script is too complicated to just cut out lines (too many dependencies). Instead of it, I sketch my idea. I do not say it is the nicest solution, but it works as I wanted. The first five rows of my data-matrix: > data_svd$u[1:5,]

Re: [R] creating axis of the plot before data are plotted

2008-07-14 Thread stephen sefick
why don't you give us a snippett of your data and then we may be able to help (read the posting guide) On Mon, Jul 14, 2008 at 6:04 PM, Zroutik Zroutik <[EMAIL PROTECTED]> wrote: > Nope, this assigns the 26th, 28th, 30th anf 32nd point of the total > nrow(matrix) number of points. This does not a

Re: [R] creating axis of the plot before data are plotted

2008-07-14 Thread Zroutik Zroutik
Nope, this assigns the 26th, 28th, 30th anf 32nd point of the total nrow(matrix) number of points. This does not assign the points (or places of the x-axis) with such a rowname. row number <-> row name 1:nrow(matrix) <-> rowname(matrix[1]) .. rowname(matrix[nrow(matrix)]) I try to rephrase my qu

Re: [R] creating axis of the plot before data are plotted

2008-07-14 Thread stephen sefick
try at=seq(from=26, to=32, by=2) in the axis statment hope this helps Stephen On Mon, Jul 14, 2008 at 11:21 AM, Zroutik Zroutik <[EMAIL PROTECTED]> wrote: > Dear R-users, > > I'm tackling with a problem which causing me a head-ache for a long time. I > would like to create a nice x-axis to my pl

[R] creating axis of the plot before data are plotted

2008-07-14 Thread Zroutik Zroutik
Dear R-users, I'm tackling with a problem which causing me a head-ache for a long time. I would like to create a nice x-axis to my plots, but I do not know how to implement the method. Imagine a matrix where you have rownames real numbers -- these rownames should be written in the x-axis nicely.