Re: [R] even display of unevenly spaced numbers on x/y coordinates

2018-07-15 Thread Bogdan Tanasa
Hi Jeff, thank you again for your help, and for your suggestion to subset the data : DF500 <- subset( DF, LENGTH < 500 ) yes, I did run the code, and I believe that it is easier to present/defend the results, after using "subset". -- bogdan On Sat, Jul 14, 2018 at 11:07 PM, Jeff Newmiller wro

Re: [R] even display of unevenly spaced numbers on x/y coordinates

2018-07-15 Thread Jim Lemon
Hi Bogdan, There seem to be three problems. One is that if you want a logarithmic x axis you shouldn't have a zero (or a negative number) in your data. The second is that you have to ask for a logarithmic axis. The third is that you have limited your x axis to less than the range of the data in "b"

Re: [R] even display of unevenly spaced numbers on x/y coordinates

2018-07-14 Thread Jeff Newmiller
But did you run the code? Apparently not. On July 14, 2018 10:34:32 PM PDT, Bogdan Tanasa wrote: >Dear Jeff, > >thank you for your prompt reply and kind help. > >During our previous conversation, we worked on a different topic, >namely >subsetting the dataframe before using ecdf() function in ggp

Re: [R] even display of unevenly spaced numbers on x/y coordinates

2018-07-14 Thread Bogdan Tanasa
Dear Jeff, thank you for your prompt reply and kind help. During our previous conversation, we worked on a different topic, namely subsetting the dataframe before using ecdf() function in ggplot2. Now, i would like to know, how I could evenly space on the x axis the values (0, 0.01, 0.1, 1, 10).

Re: [R] even display of unevenly spaced numbers on x/y coordinates

2018-07-14 Thread Jeff Newmiller
Isn't this what I showed you how to do in [1]? [1] https://stat.ethz.ch/pipermail/r-help/2018-July/455215.html On July 14, 2018 10:16:36 PM PDT, Bogdan Tanasa wrote: >Dear all, > >please would you advise on how I could make an even display of unevenly >spaced number on a graph in R. For example,

[R] even display of unevenly spaced numbers on x/y coordinates

2018-07-14 Thread Bogdan Tanasa
Dear all, please would you advise on how I could make an even display of unevenly spaced number on a graph in R. For example, considering the code below : BREAKS = c(0, 0.1, 1, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400, 500) a <- seq(0,100,0.1) b <- seq(0,1000,0.1) plot(ecdf(a), co