| Date: | Wed, 30 Oct 2002 03:00:16 -0600 |
| Reply-To: | Kevin Myers <KevinMyers@AUSTIN.RR.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Kevin Myers <KevinMyers@AUSTIN.RR.COM> |
| Subject: | Re: Polishing a GPLOT: Two questions |
| Content-Type: | text/plain; charset="iso-8859-1" |
Another option might be to output to a file using a significantly higher
resolution that your final intended result, e.g. use 1200dpi instead of
300dpi. Then, use a third party graphics application that supports pixel
interpolation to reduce the resolution to your final desired result. The
interpolation process should help smooth the jaggies.
s/KAM
----- Original Message -----
From: "Dietrich Alte" <alte@uni-greifswald.de>
Newsgroups: bit.listserv.sas-l
To: <SAS-L@LISTSERV.UGA.EDU>
Sent: Wednesday, October 30, 2002 2:21 AM
Subject: Re: Polishing a GPLOT: Two questions
> Annette wrote:
> > I've written a program for a quite nice overlay GPLOT (see code below).
> > At last I'd like to solve two peculiarities: (1) The data lines look a
> > bit 'edgy'. Is there are trick to get them more smoother (e.g. just like
> > simple elegant and not at all edgy looking lines).
> You might try another driver instead og GIF. For importing in MS-WORD
> etc. I use the Computer Graphics Metafile (CGM) driver CGMOF97L (or
> similar, see lib sashelp.devices) and the following goptions:
>
> GOPTIONS
> RESET = ALL
> GUNIT = PCT
> GSFNAME = grafout
> GSFMODE = replace
> FTEXT = HWCGM005 /*HWCGM001 = Arial, HWCGM005 = Times */
> HTEXT = 4
> XMAX = 11IN /* Maximum horizontal plot size in CM */
> YMAX = 8.5IN /* Maximum vertical plot size in CM */
> HSIZE = 24CM
> VSIZE = 18CM
> HORIGIN = 0CM
> VORIGIN = 0CM
> /*CBACK = white*/
> CPATTERN = red
> NOBORDER
> COLORS = (black blue red)
> CSYMBOL = blue
> DEVICE = CGMOF97L /*CGMOF97L /*CGMMPPA --> MS Powerpoint */
> /* CGMOF97P --> MS-Office */
> DISPLAY
> LFACTOR = 2 /* skalingfactor line thickness */
> NOCELL;
>
>
>
> > (2) The HAXIS shows only every second 'category' of GROUP.
>
> Try to decrease font size (see above FTEXT).
>
> Hope that helps
>
> --
> -------------------------------------------------------------
> Dietrich Alte (Statistician, Dipl.-Stat.)
> - SHIP // Project Management -
> University of Greifswald - Medical Faculty
> Institute of Epidemiology and Social Medicine
> Walther-Rathenau-Str. 48, D-17487 Greifswald, Germany
> Phone +49(0)3834-867713, fax ++49(0)3834-866684
> Email alte@uni-greifswald.de
> Institute http://www.medizin.uni-greifswald.de/epidem/
> -------------------------------------------------------------
|