[R] barplots with pictex

Prof Brian D Ripley ripley at stats.ox.ac.uk
Wed Feb 7 07:56:32 CET 2001


On Tue, 6 Feb 2001, Faheem Mitha wrote:

>
>
> On Tue, 6 Feb 2001, Prof Brian D Ripley wrote:
>
> > On Tue, 6 Feb 2001, Faheem Mitha wrote:
> >
> > > Dear R People,
> > >
> > > I want to include a barplot corresponding to a simple discrete probability
> > > distribution in a LaTeX document. I decided to use the pictex
> > > driver. After a certain amount of messing about, I came up the stuff
> > > below. It does not look too bad, however, there is one very obvious piece
> > > of weirdness, ie. the y axis terminates at 0.1 and does not extend down
> > > further. I tried to adjust this by changing ylim to c(-0.1,0.5) but then
> > > the labelling -3, -2 ... moves further down. Can anyone suggest how to
> > > correct this problem?
> >
> > Not so in my version (1.2.1, Solaris) with your code. What version are
> > *you* using?  This has been fixed a while ago (1.1.0, it looks like from
> > NEWS).
>
> 1.0.0 (I haven't used R since last May). Perhaps it is time to upgrade to
> 1.2.1. So this is/was a bug, then?

A bug has been fixed, yes.  If you look at the bugs list in NEWS, you might
well want to upgrade, and there have been considerable performance and
feature advances too.

As a more general point, moving from 1.x.0 to 1.x.1 is definitely a good
idea, as the changes in 1.x releases often break a few other things.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list