s-news
[Top] [All Lists]

question about BarPlot axis label values

To: "'s-news@lists.biostat.wustl.edu'" <s-news@lists.biostat.wustl.edu>
Subject: question about BarPlot axis label values
From: "Kurbat, Matt" <Matt.Kurbat@kmv.com>
Date: Thu, 26 Apr 2001 14:54:54 -0700
Dear Splus Users,

I'm attempting to make a stacked bar plot  (my parameters: Windows NT, Splus
2000).
The bars correspond to the 6 values of a nominal categorical variable.  
Call this variable "CategoricalVariable", and call its values 'a', 'b', 'c',
'd', 'e', and 'f'. 
When I create this plot, using the code below, the values on the x-axis
under
the 6 bars are the numbers 1,2,3,4,5,6. 
I would instead *LIKE* to have the values 'a', 'b', etc. appear under bars
1-6 respectively.

Does anyone know how to do this?
I've been poring over the online help, etc., but to no avail.

Thank you,
Matt Kurbat

----------------------------------------------------------------------------
-----------------------
My code:

guiPlot( PlotType = "Stacked Bar")
guiModify( "BarPlot", Name = "GS1$1$1",
        DataSet = "Data",
        xColumn = "CategoricalVariable",
        yColumn = "x,y",
        Crop = F,
        BarBase = "Zero",
        BarFillType = "2 Color Range",
        StartFillColor = "Black",
        EndFillColor = "Lt Gray")
guiClose("data.frame", "Data")


        

<Prev in Thread] Current Thread [Next in Thread>
  • question about BarPlot axis label values, Kurbat, Matt <=