[Rd] Proposed mods to barplot.default() and legend().

Rolf Turner r.turner at auckland.ac.nz
Sun Jan 18 22:18:46 CET 2009


On 16/01/2009, at 10:07 PM, Martin Maechler wrote:

> Hi Rolf,
>
>>>>>> "RT" == Rolf Turner <r.turner at auckland.ac.nz>
>>>>>>     on Fri, 16 Jan 2009 15:27:33 +1300 writes:
>
>     RT> Recently I had occasion to make some mods to
>     RT> barplot.default(), the main one being the introduction
>     RT> of a crosshatching facility.  I made some related mods
>     RT> to legend() so that the crosshatching could be
>     RT> accommodated in the legend.  I also made some other
>     RT> adjustments to remedy what seemed to me to be
>     RT> unsatisfactory characteristics of the shading that the
>     RT> fill-boxes in legends sometimes evinced.
>
>     RT> It seemed to me that others might want the crosshatching
>     RT> facility also, so I thought I might send in my modified
>     RT> versions of barplot.default() and legend() to R Core for
>     RT> their consideration.
>
>     RT> Would this be a good idea?
>     RT> How should I go about this?
> could well be ..
>
>     RT> Would it be appropriate just to send my code (and
>     RT> documentation) to you?
>
> I think you should post it to R-devel as a proposal.
> It's fine if you ask for feedback from R-core directly, and in
> the end, it will always need a "champion" within R-core who
> takes up the responsibility to adopt and test and ... your
> proposal.
>
> Really, for me to look at it closely, I'd like (hopefully small)
> patches against R-devel, i.e., against the *source* files (not the  
> print() of
> the function) in
>     https://svn.r-project.org/R/trunk/src/library/graphics/R/...
> If you don't use svn / subversion easily, I'd recommend to use the
> files in one of the snapshots
> at ftp://stat.ethz.ch/R/
>
>
> Regards,
> Martin

I have attached a tar file containing my modified code for barplot  
and legend,
and the correspondingly modified help files --- for your  
consideration and delectation. :-)

The mods were duly done unto the source files.

	cheers,

		Rolf Turner


  
   
######################################################################
Attention: 
This e-mail message is privileged and confidential. If you are not the 
intended recipient please delete the message and notify the sender. 
Any views or opinions presented are solely those of the author.

This e-mail has been scanned and cleared by MailMarshal 
www.marshalsoftware.com
######################################################################
-------------- next part --------------
A non-text attachment was scrubbed...
Name: barleg.tar
Type: application/x-tar
Size: 51200 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20090119/0a306058/attachment.tar>


More information about the R-devel mailing list