Proc Gplot (notes and warnings)

  • Follow


This is my Proc Gplot code and using this code I am getting couple of
warnings and green notes How to avoid them.
And one simple question this is code I am using from other study not sure
weather the resultant Graph is right or wrong , How do we validate the graph
results ??


PROC GCHART DATA = final ;
by visitnum ;
format trtgrp trt. visitnum vst.;
      VBAR cp/ discrete
              SUMVAR = pctchange
             group=trtgrp
           gspace=2
           space=3
           width=3
           nozero
           vref=0   LREF=2
           patternid=group
           RAXIS = AXIS1
           MAXIS = AXIS2
           gaxis = axis3 ;
run;
quit;



WARNING: The bottom horizontal axis labeled TRTGRP could not be fit as
specified. The axis values will
                                              The SAS System    overwrite.
NOTE: The axis frame outline was drawn with line width 2 as specified on the
bottom horizontal axis. Any
      other axis line widths were ignored.
NOTE: The above message was for the following BY group:       Visit
Number=20
WARNING: The bottom horizontal axis labeled TRTGRP could not be fit as
specified. The axis values will
         overwrite.
NOTE: The axis frame outline was drawn with line width 2 as specified on the
bottom horizontal axis. Any
      other axis line widths were ignored.
NOTE: The above message was for the following BY group:
      Visit Number=20
WARNING: The bottom horizontal axis labeled TRTGRP could not be fit as
specified. The axis values will
         overwrite.
NOTE: The axis frame outline was drawn with line width 2 as specified on the
bottom horizontal axis. Any
      other axis line widths were ignored.
NOTE: The above message was for the following BY group:   Visit Number=20


TIA
SL
0
Reply proccontents 12/24/2009 5:15:00 PM

Without knowing what graph options you set, how many different values you
have, or what your two formats look like, its difficult to say.

The warnings you're getting are indicating that you're trying to push too
much onto the graph given whatever combination of values or settings you
have.

How does one validate the graph results?  Run an analysis that matches what
you're trying to graph and see if the graph is showing the same thing and
using labels that would be meaningful.

Of course, that will only validate if the graph is matching what you expect,
not whether you had selected the appropriate analysis to do whatever it is
that you're trying to accomplish.

Art
-------
On Thu, 24 Dec 2009 09:15:00 -0800, SAS_learner <proccontents@GMAIL.COM>
wrote:

>This is my Proc Gplot code and using this code I am getting couple of
>warnings and green notes How to avoid them.
>And one simple question this is code I am using from other study not sure
>weather the resultant Graph is right or wrong , How do we validate the
graph
>results ??
>
>
>PROC GCHART DATA = final ;
>by visitnum ;
>format trtgrp trt. visitnum vst.;
>      VBAR cp/ discrete
>              SUMVAR = pctchange
>             group=trtgrp
>           gspace=2
>           space=3
>           width=3
>           nozero
>           vref=0   LREF=2
>           patternid=group
>           RAXIS = AXIS1
>           MAXIS = AXIS2
>           gaxis = axis3 ;
>run;
>quit;
>
>
>
>WARNING: The bottom horizontal axis labeled TRTGRP could not be fit as
>specified. The axis values will
>                                              The SAS System    overwrite.
>NOTE: The axis frame outline was drawn with line width 2 as specified on
the
>bottom horizontal axis. Any
>      other axis line widths were ignored.
>NOTE: The above message was for the following BY group:       Visit
>Number=20
>WARNING: The bottom horizontal axis labeled TRTGRP could not be fit as
>specified. The axis values will
>         overwrite.
>NOTE: The axis frame outline was drawn with line width 2 as specified on
the
>bottom horizontal axis. Any
>      other axis line widths were ignored.
>NOTE: The above message was for the following BY group:
>      Visit Number=20
>WARNING: The bottom horizontal axis labeled TRTGRP could not be fit as
>specified. The axis values will
>         overwrite.
>NOTE: The axis frame outline was drawn with line width 2 as specified on
the
>bottom horizontal axis. Any
>      other axis line widths were ignored.
>NOTE: The above message was for the following BY group:   Visit Number=20
>
>
>TIA
>SL
0
Reply art297 (4237) 12/24/2009 10:14:21 PM


1 Replies
460 Views

(page loaded in 0.041 seconds)

Similiar Articles:













7/25/2012 5:35:13 AM


Reply: