It is best to reply to the whole list, you are likely to get answers
quicker and possibly better that way and if other people have your same
question and search the archives they will see the whole conversation.

It looks like the plot method for hexbin objects does not honor the ylim
argument.  Instead you can specify the ybnds argument to the hexbin
function when creating the bin argument to start.


On Sun, Dec 16, 2012 at 3:02 AM, Tom Hoffrichter <
tom.hoffrichter@googlemail.com> wrote:

> Hi,****
>
> ** **
>
> thanks for the super fast response. It was not my intention to disturb
> you, but ist was late in the night…****
>
> And so I took the wrong line. Nevertheless it works also with
>  ylim=c(0,15000)   not as wanted.****
>
> I got the following message:
>
> Fehler in .local(x, ...) : unbenutzte(s) Argument(e) (ylim = c(0, 15000))*
> ***
>
> Failure in .local(x, …) : unused argument(s) (ylim=x(0,15000))****
>
> ** **
>
> With a simple test like f(x)=x*x the ylim-option works fine.****
>
> So I guess, that it will be something with kind of data set.****
>
> ** **
>
> A Pro-answer would be great.****
>
> ** **
>
> Thx a lot****
>
> ** **
>
> Tom ****
>
> ** **
>
> *Von:* Greg Snow [mailto:538280@gmail.com]
> *Gesendet:* Sonntag, 16. Dezember 2012 02:18
> *An:* Tom Hoffrichter
> *Cc:* r-help
> *Betreff:* Re: [R] xlim/ylim problem****
>
> ** **
>
> try ylim=c(0,1500) ****
>
> ** **
>
> You are missing the "c" which constructs a vector, without the "c" it gets
> confused.****
>
> ** **
>
> On Sat, Dec 15, 2012 at 5:14 PM, Tom Hoffrichter <
> tom.hoffrichter@googlemail.com> wrote:****
>
> Hi everybody,
>
>
>
> just arrived at R and immediately I got a problem.
>
> Here's my script:
>
>
>
> setwd("C:/Users/Tom/Eigene Tools/Programming/R/Data")
>
> blast_hits<-read.table("blastHit_covLenght.txt", header=T)
>
> blast_hits <- as.matrix(blast_hits)
>
> numerical1<-data.matrix(blast_hits, rownames.force = NA)
>
>
>
> table_no_blast_hits<-read.table("noBlastHits.txt", header=T)
>
> no_blast_hits <- as.matrix(table_no_blast_hits)
>
> numerical2<-data.matrix(no_blast_hits, rownames.force = NA)
>
>
>
> All<-merge(numerical1, numerical2, all=TRUE)
>
> library(hexbin)
>
> bin<-hexbin(All, xbins=100)
>
>
>
> # The next line works pretty good, but there is one extrem artefact in the
> data, which let collaps all the data to a small area #
>
>
>
> plot(bin, main="All",colramp=function(n){heat.ob(n,beg=230,end=25)})
>
>
>
> # So I tried to scale my yaxes, with the next line:
>
> #plot(bin, main="All",ylim=(0,15000),
> colramp=function(n){heat.ob(n,beg=230,end=25)})
>
>
>
> # The following error message is displayed:
>
> #Fehler: Unerwartete(s) ',' in "plot(bin, main="All",ylim=(0,"
>
> # Which I would translate to:
> # Error: Unexpected ',' in "plot(bin, main="All",ylim=(0,"
>
>
>
> I flashing idea would be a great help
>
> Thx Tom
>
>
>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.****
>
>
>
> ****
>
> ** **
>
> --
> Gregory (Greg) L. Snow Ph.D.
> 538280@gmail.com****
>



-- 
Gregory (Greg) L. Snow Ph.D.
538280@gmail.com

	[[alternative HTML version deleted]]


