Thanks to Bill for his answer. With this command everything works fine.
Regards Michel
On Wed, 12 Apr 2006 michel.piot@bfe.admin.ch wrote:
> I'm using SPLUS 6.2 for Windows.
>
> In my barplot I have negative numbers so the y-axis has a range from
> -20 to 200. Unfortunately the names of the barplot with the "names"
> argument in the barplot command are written in the plot region and not
> below the plot. Can anybody tell me, how to position the names below
> the barplot?
I think this was fixed by Splus7.0, but a workaround
for earlier versions is:
bar.centers <- barplot(x)
mtext(side=1, at=bar.centers, lab=names)
------------------------------------------------------------------------
----
Bill Dunlap
Insightful Corporation
bill at insightful dot com
360-428-8146
|