From ligges at statistik.tu-dortmund.de  Fri Dec  4 18:31:21 2009
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Fri, 04 Dec 2009 18:31:21 +0100
Subject: [Rd] boxplot: auto sizing for ylim variable
In-Reply-To: <bb3f839b0912031040p7e011dacm73682fa24774c5e9@mail.gmail.com>
References: <bb3f839b0912011134o50c0cff6lae004116ea32cd08@mail.gmail.com>	<B37C0A15B8FB3C468B5BC7EBC7DA14CC62F710A1C0@LP-EXMBVS10.CO.IHC.COM>
	<bb3f839b0912031040p7e011dacm73682fa24774c5e9@mail.gmail.com>
Message-ID: <4B194769.2090002@statistik.tu-dortmund.de>



violet lock wrote:
> 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)


Still not reproducible, hence not helpful - we cannot see anything...

Uwe Ligges


> 
> 
> 
> 
> On Wed, Dec 2, 2009 at 3:02 PM, Greg Snow <Greg.Snow at 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.snow at imail.org
>> 801.408.8111
>>
>>
>>> -----Original Message-----
>>> From: r-devel-bounces at r-project.org [mailto:r-devel-bounces at r-
>>> project.org] On Behalf Of violet lock
>>> Sent: Tuesday, December 01, 2009 12:34 PM
>>> To: r-devel at 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 at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-devel
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] boxplot: auto sizing for ylim variable
Uwe Ligges