Sorry, I though I had reposted the question-  I was trying to create a
barplot- I just solved it by looping and setting the program to graph as
subset of the data.  The size is a parameter so the user can reset it if
needed

bargraph <- function(table) {
barplot(table,  main="Title", xlim=c(0,120), horiz=TRUE, las=2)
}
...calc of j and end...
smaller_table=bigtable[j:end]
bargraph(smaller_table)





On Wed, Dec 2, 2009 at 3:02 PM, Greg Snow <greg.s...@imail.org> wrote:

> I don't understand your question.  Are you trying to create a boxplot or
> barplot (you mention both), what scaling is not happening automatically that
> you would like?
>
> Can you give a simple example of what you have tried, what results you are
> seeing and what results you would like to see instead?
>
> --
> Gregory (Greg) L. Snow Ph.D.
> Statistical Data Center
> Intermountain Healthcare
> greg.s...@imail.org
> 801.408.8111
>
>
> > -----Original Message-----
> > From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-
> > project.org] On Behalf Of violet lock
> > Sent: Tuesday, December 01, 2009 12:34 PM
> > To: r-devel@r-project.org
> > Subject: [Rd] boxplot: auto sizing for ylim variable
> >
> > Dear R-Devel,
> > I am trying to create a boxplot for a large dataset (about 1500
> > entries)
> >  and was wondering if there was away to do auto sizing for the y-axis
> > of a
> > horizontal bar plot?  I know I could use a control structure to loop
> > through
> > the data instead, but as I know SAS has something does this
> > automatically I
> > thought R might as well.
> >
> > Thanks,
> > VL
> >
> >       [[alternative HTML version deleted]]
>  >
> > ______________________________________________
> > R-devel@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-devel
>

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to