Bliese, Paul D LTC USAMH wrote:
When I use barplot but select a ylim value greater
than zero, the graph is distorted. The bars extend
below the bottom of the graph.
Have a look at the gap.barplot function in the plotrix package. A new
version (2.0.1) has just been uploaded and should
Ben == Ben Bolker [EMAIL PROTECTED]
on Thu, 5 Jan 2006 19:21:48 + (UTC) writes:
Ben Robert Baer rbaer at atsu.edu writes:
Well, consider this example:
barplot(c(-200,300,-250,350),ylim=c(-99,400))
It seems that barplot uses ylim and pretty to decide things about
R Version 2.2.0
Platform: Windows
When I use barplot but select a ylim value greater than zero, the graph
is distorted. The bars extend below the bottom of the graph.
For instance the command produces a problematic graph.
barplot(c(200,300,250,350),ylim=c(150,400))
Any help
On Thu, 2006-01-05 at 14:01 +0100, Bliese, Paul D LTC USAMH wrote:
R Version 2.2.0
Platform: Windows
When I use barplot but select a ylim value greater than zero, the graph
is distorted. The bars extend below the bottom of the graph.
For instance the command produces a problematic
Bliese, Paul D LTC USAMH paul.bliese at us.army.mil writes:
R Version 2.2.0
Platform: Windows
When I use barplot but select a ylim value greater than zero, the graph
is distorted. The bars extend below the bottom of the graph.
The problem is that barplot() is really designed to
Ben Bolker bolker at ufl.edu writes:
Bliese, Paul D LTC USAMH paul.bliese at us.army.mil writes:
R Version 2.2.0
Platform: Windows
When I use barplot but select a ylim value greater than zero, the graph
is distorted. The bars extend below the bottom of the graph.
PaulB == Bliese, Paul D LTC USAMH [EMAIL PROTECTED]
on Thu, 5 Jan 2006 14:01:17 +0100 writes:
PaulB R Version 2.2.0
PaulB Platform: Windows
PaulB When I use barplot but select a ylim value greater
PaulB than zero, the graph is distorted. The bars extend
PaulB below
PaulB When I use barplot but select a ylim value greater
PaulB than zero, the graph is distorted. The bars extend
PaulB below the bottom of the graph.
PaulB For instance the command produces a problematic graph.
PaulB barplot(c(200,300,250,350),ylim=c(150,400))
Well, my
Robert Baer rbaer at atsu.edu writes:
Well, consider this example:
barplot(c(-200,300,-250,350),ylim=c(-99,400))
It seems that barplot uses ylim and pretty to decide things about the axis
but does some slightly unexpected things with the bars themselves that are
not just at the 'zero' end