Date: Fri, 14 Nov 2003 15:04:40 -0700
Reply-To: Jack Hamilton <JackHamilton@FIRSTHEALTH.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jack Hamilton <JackHamilton@FIRSTHEALTH.COM>
Subject: Re: Proc Gplot-problem
Content-Type: text/plain; charset=us-ascii
The documentation for the SYMBOL statement says:
SYMBOL statements generate one or more symbol definitions,
depending on how color is used and whether a plot symbol or
type of contour line is specified. For more information, see
Controlling Consecutive SYMBOL Statements and Using
Generated Symbol Sequences.
"Controlling Consecutive SYMBOL Statements" says
If you specify consecutively numbered SYMBOL
statements and you want SAS/GRAPH to use each
definition only once, use color specifications to
ensure each SYMBOL statement generates only
one symbol definition.
One might argue whether that's the right or expected thing to do, but
the behavior is following the documentation.
--
JackHamilton@FirstHealth.com
Manager, Technical Development
Metrics Department, First Health
West Sacramento, California USA
>>> LWn <villerwalle.nononospam@YAHOO.COM> 11/14/2003 1:46 PM >>>
Thanks for the tip but I still don't understand why
symbol1 v="dot" c=black;
symbol2 v="diamond" c=black;
symbol3 v="plus" c=black;
works but without c= it doesn't
/LWn
"Huang, Ya" <yhuang@AMYLIN.COM> skrev i meddelandet
news:9312B0A3065FA54EAB5A4D399EF96346F4CD1A@api-exch-1.amylin.com...
> Just add c= options:
>
> symbol1 v="dot" c=read;
> symbol2 v="diamond" c=green;
> symbol3 v="plus" c=blue;
>
> -----Original Message-----
> From: Lars Wahlgren [mailto:Lars.WahlgrenRemove@THIS.STAT.LU.SE]
> Sent: Friday, November 14, 2003 8:00 AM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: Proc Gplot-problem
>
>
> proc plot data=abc ;
> plot salary*age=educ ;
> run ;
>
> works fine. I get different symbols for the three different
education
> levels but when I try
>
> proc Gplot data=abc ;
> symbol1 v="dot" ;
> symbol2 v="diamond" ;
> symbol3 v="plus" ;
> plot salary*age=educ ;
> run ;
>
> I don't get three different symbols, I get all dots but in different
> colours.
> Anybody got a remedy for this?
>
> /Lars Wahlgren
> Lund university, Sweden