Sample 24875: Remove RAXIS plane from a VBAR3D
This sample uses the NOPLANE option on an AXIS statement to remove the associated vertical and/or horizontal axis plane(s). This option is valid for the VBAR3D and HBAR3D statements with PROC GCHART.
These sample files and code examples are provided by SAS Institute
Inc. "as is" without warranty of any kind, either express or implied, including
but not limited to the implied warranties of merchantability and fitness for a
particular purpose. Recipients acknowledge and agree that SAS Institute shall
not be liable for any damages whatsoever arising out of their use of this material.
In addition, SAS Institute will provide no support for the materials contained herein.
This sample uses the NOPLANE option on an AXIS statement to remove the associated vertical and/or horizontal axis plane(s). This option is valid for the VBAR3D and HBAR3D statements with PROC GCHART.
Note: You might want to use the NOFRAME option on the VBAR3D/HBAR3D statement to remove the default frame around the graph.
The graphics output in the Results tab was produced using SAS 9.2. Submitting the sample code with a release of SAS prior to 9.2 might produce different results.
goptions border;
/* Define a data set for charting */
data a;
input year 4. cnt;
datalines;
1997 25
1998 30
1999 20
2000 10
2001 60
;
run;
/* Specify the NOPLANE option */
axis1 minor=none label=('CNT') noplane;
title1 h=12pt 'Remove RAXIS Plane';
/* Produce the 3D vertical bar chart. Specify the */
/* NOFRAME option to remove the default frame. */
proc gchart data=a;
vbar3d year / sumvar=cnt discrete noframe raxis=axis1 width=8;
run;
quit;
These sample files and code examples are provided by SAS Institute
Inc. "as is" without warranty of any kind, either express or implied, including
but not limited to the implied warranties of merchantability and fitness for a
particular purpose. Recipients acknowledge and agree that SAS Institute shall
not be liable for any damages whatsoever arising out of their use of this material.
In addition, SAS Institute will provide no support for the materials contained herein.
This sample uses the NOPLANE option on an AXIS statement to remove the associated veritical and/or horizontal axis plane(s). This option is valid for VBAR3D and HBAR3D statements.
Type: | Sample |
Topic: | SAS Reference ==> Procedures ==> GCHART Query and Reporting ==> Creating Reports ==> Graphical ==> Graph Types ==> Charts ==> Bar
|
Date Modified: | 2005-08-24 16:06:27 |
Date Created: | 2004-11-11 11:07:53 |
Operating System and Release Information
SAS System | SAS/GRAPH | All | n/a | n/a |