[R-gregmisc-users] SF.net SVN: r-gregmisc:[1420] trunk/gplots
Brought to you by:
warnes
From: <wa...@us...> - 2010-02-17 14:53:26
|
Revision: 1420 http://r-gregmisc.svn.sourceforge.net/r-gregmisc/?rev=1420&view=rev Author: warnes Date: 2010-02-17 14:53:16 +0000 (Wed, 17 Feb 2010) Log Message: ----------- Improve performance of hist2d thanks to suggestion by Joerg van den Hoff. Modified Paths: -------------- trunk/gplots/DESCRIPTION trunk/gplots/R/hist2d.R trunk/gplots/inst/NEWS Modified: trunk/gplots/DESCRIPTION =================================================================== --- trunk/gplots/DESCRIPTION 2010-01-28 19:58:26 UTC (rev 1419) +++ trunk/gplots/DESCRIPTION 2010-02-17 14:53:16 UTC (rev 1420) @@ -4,7 +4,7 @@ Depends: gtools, gdata, stats, caTools, grid Recommends: datasets, grid Suggests: gtools -Version: 2.7.4 +Version: 2.7.5 Author: Gregory R. Warnes. Includes R source code and/or documentation contributed by (in alphabetical order): Ben Bolker, Lodewijk Bonebakker, Robert Gentleman, Wolfgang Modified: trunk/gplots/R/hist2d.R =================================================================== --- trunk/gplots/R/hist2d.R 2010-01-28 19:58:26 UTC (rev 1419) +++ trunk/gplots/R/hist2d.R 2010-02-17 14:53:16 UTC (rev 1420) @@ -25,13 +25,13 @@ if(same.scale) { - x.cuts <- seq( from=min(x,y), to=max(x,y), length=nbins[1]+1) - y.cuts <- seq( from=min(x,y), to=max(x,y), length=nbins[2]+1) + x.cuts <- seq( from=min(x,y), to=max(x,y), length=nbins[1]+1, labels=FALSE) + y.cuts <- seq( from=min(x,y), to=max(x,y), length=nbins[2]+1, labels=FALSE) } else { - x.cuts <- seq( from=min(x), to=max(x), length=nbins[1]+1) - y.cuts <- seq( from=min(y), to=max(y), length=nbins[2]+1) + x.cuts <- seq( from=min(x), to=max(x), length=nbins[1]+1, labels=FALSE) + y.cuts <- seq( from=min(y), to=max(y), length=nbins[2]+1, labels=FALSE) } Modified: trunk/gplots/inst/NEWS =================================================================== --- trunk/gplots/inst/NEWS 2010-01-28 19:58:26 UTC (rev 1419) +++ trunk/gplots/inst/NEWS 2010-02-17 14:53:16 UTC (rev 1420) @@ -1,3 +1,11 @@ +Release 2.7.5 - ?? +-------------------------- + +Improvements: + +- Performance of 'hist2d' improved thanks to a suggestion from i + Joerg van den Hoff. + Release 2.7.4 - 2009-11-12 -------------------------- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |