<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PROC SGPLOT, SCATTER PLOT and &amp;quot;-&amp;quot; as SYMBOL ? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133076#M5163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&amp;nbsp; The color style works. In my program, can I set the square color to white so that the square will "disappear". how to do that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the following does not work.&lt;/P&gt;&lt;P&gt;scatter x = trt y = mean / MARKERCHAR=meanbar(color=white)&amp;nbsp; legendlabel="--- Mean" name="Mean";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jun 2012 18:50:49 GMT</pubDate>
    <dc:creator>John70</dc:creator>
    <dc:date>2012-06-15T18:50:49Z</dc:date>
    <item>
      <title>PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133064#M5151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm very new with SAS ODS Graphics and I'm currently working on a Sacatter Plot using PROC SGPLOT and SCATTER. &lt;/P&gt;&lt;P&gt;The scatter plot itself worked fine, but now my Statistician wants me to show the mean values as a horizontal bar "-".&amp;nbsp; &lt;/P&gt;&lt;P&gt;I searched SAS and found, that the following SYMBOL names can be used:&lt;/P&gt;&lt;P&gt; &lt;IMG alt="markers.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/2126_markers.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any possibility to use other symbols in graphics?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;Natalie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 09:31:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133064#M5151</guid>
      <dc:creator>Natalie</dc:creator>
      <dc:date>2012-06-06T09:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133065#M5152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The list you have included has all the marker symbols that can be used in SG and GTL. However, you can add a scatter plot with "-" as a symbol with the MARKERCHAR option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 13:02:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133065#M5152</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2012-06-06T13:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133066#M5153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sanjay, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much!&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a very nice option, I included it in my code now and all works perfectly &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11pt; font-family: 'Calibri','sans-serif';"&gt;Natalie&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 13:44:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133066#M5153</guid>
      <dc:creator>Natalie</dc:creator>
      <dc:date>2012-06-06T13:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133067#M5154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Natalie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a similar situation, would you please tell me how to add the "-" on the scatter plot?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 16:13:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133067#M5154</guid>
      <dc:creator>John70</dc:creator>
      <dc:date>2012-06-12T16:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133068#M5155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are actually only two steps, which are needed with MARKERCHAR-option.&lt;/P&gt;&lt;P&gt;First I added a new variable MEANSYMBOL in my input data set, which contains the character string to be displayed in the graph, in my case it is "-".&amp;nbsp; My data set looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;treatment&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mean&amp;nbsp;&amp;nbsp;&amp;nbsp; meansymbol&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8.5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9.6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7.5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the PROC SGPLOT I set the MARKERCHAR=meansymbol&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;(SAS: &lt;SPAN lang="EN" style="font-size: 11.5pt; color: black; font-family: 'Arial','sans-serif';"&gt;MARKERCHAR= variable&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-size: 11.5pt; color: black; font-family: 'Arial','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN" style="font-size: 11.5pt; color: black; font-family: 'Arial','sans-serif';"&gt;specifies a variable whose values replace the marker symbols in the plot)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCATTER X=treatment Y=mean / &lt;STRONG&gt;MARKERCHAR=meansymbol&lt;/STRONG&gt; (COLOR=BLACK)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If needed COLOR, SIZE, WEIGHT etc. can be modified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps! &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Natalie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 07:17:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133068#M5155</guid>
      <dc:creator>Natalie</dc:creator>
      <dc:date>2012-06-13T07:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133069#M5156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Natalie and Sanjay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried MARKERCHAR option with regard to using "-" as symbol.&amp;nbsp; It works but it does not show the "-" in legend (see code below or attachment).&amp;nbsp; Is there a way to show the "-" and "xx"in legend when using MARKERCHAR option?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!!&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data try;&lt;/P&gt;&lt;P&gt;input trt numb value mean median run;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;1 101 26.5 33.9 27.8 7&lt;/P&gt;&lt;P&gt;1 102 29 33.9 27.8 7&lt;/P&gt;&lt;P&gt;1 103 49.1 33.9 27.8 7&lt;/P&gt;&lt;P&gt;1 104 26 33.9 27.8 7&lt;/P&gt;&lt;P&gt;1 105 52.8 33.9 27.8 7&lt;/P&gt;&lt;P&gt;1 106 19.9 33.9 27.8 7&lt;/P&gt;&lt;P&gt;2 201 25.8 30.4 28.3 8&lt;/P&gt;&lt;P&gt;2 202 16.7 30.4 28.3 8&lt;/P&gt;&lt;P&gt;2 203 38.1 30.4 28.3 8&lt;/P&gt;&lt;P&gt;2 204 30.7 30.4 28.3 8&lt;/P&gt;&lt;P&gt;2 205 51.3 30.4 28.3 8&lt;/P&gt;&lt;P&gt;2 206 19.8 30.4 28.3 8&lt;/P&gt;&lt;P&gt;3 301 26.5 33.9 27.8 9&lt;/P&gt;&lt;P&gt;3 302 29 33.9 27.8 9&lt;/P&gt;&lt;P&gt;3 303 49.1 33.9 27.8 9&lt;/P&gt;&lt;P&gt;3 304 26 33.9 27.8 9&lt;/P&gt;&lt;P&gt;3 305 52.8 33.9 27.8 9&lt;/P&gt;&lt;P&gt;3 306 19.9 33.9 27.8 9&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc sgplot data=try; *noautolegend;&lt;/P&gt;&lt;P&gt;options orientation=landscape;&lt;/P&gt;&lt;P&gt;xaxis values=(0 to 4 by 1) label='trt' ; &lt;/P&gt;&lt;P&gt;yaxis values=(-10 to 60 by 10) label="something" ;&lt;/P&gt;&lt;P&gt;title "";&lt;/P&gt;&lt;P&gt;scatter x = trt y = value / markerattrs=(size=9 symbol=circle color=black) legendlabel="Individual Value" name="Ind"; &lt;/P&gt;&lt;P&gt;scatter x = trt y = mean / markerattrs=(size=9 symbol=starfilled color=black) legendlabel="Mean" name="Mean";&lt;/P&gt;&lt;P&gt;scatter x = trt y = median / markerattrs=(size=9 symbol=diamondfilled color=black) legendlabel="Median" name="Med";&lt;/P&gt;&lt;P&gt;keylegend "Ind" "Mean" "Med"/ title="" position=topright location=inside across=1 ;&lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When us "-" and "xxx"as symbols, these symbol did not show in the legend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data try1;&lt;/P&gt;&lt;P&gt;set try;&lt;/P&gt;&lt;P&gt;meanbar='--------';&lt;/P&gt;&lt;P&gt;mednbar='xxxxx';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;proc sgplot data=try1; *noautolegend;&lt;/P&gt;&lt;P&gt;options orientation=landscape;&lt;/P&gt;&lt;P&gt;xaxis values=(0 to 4 by 1) label='trt' ; &lt;/P&gt;&lt;P&gt;yaxis values=(-10 to 60 by 10) label="something" ;&lt;/P&gt;&lt;P&gt;title "";&lt;/P&gt;&lt;P&gt;scatter x = trt y = value / markerattrs=(size=9 symbol=circle color=black) legendlabel="Individual Value" name="Ind"; &lt;/P&gt;&lt;P&gt;scatter x = trt y = mean / MARKERCHAR=meanbar legendlabel="Mean" name="Mean"; &lt;/P&gt;&lt;P&gt;scatter x = trt y = median / MARKERCHAR=mednbar legendlabel="Median" name="Med";&lt;/P&gt;&lt;P&gt;keylegend "Ind" "Mean" "Med"/ title="" position=topright location=inside across=1 ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 15:43:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133069#M5156</guid>
      <dc:creator>John70</dc:creator>
      <dc:date>2012-06-14T15:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133070#M5157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, there is no way in SAS 9.2 to get the marker character into the legend.&amp;nbsp; However, there are other ways to skin the cat. &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&amp;nbsp; I have done this before:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Teva_SG_2.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/2151_Teva_SG_2.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;What you want is a line segment to represent the mean and median.&amp;nbsp; I use the VECTOR plot to do this.&amp;nbsp;&amp;nbsp; You can add the vector plot into the legend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, the mean values for each group are computed and added to the data.&amp;nbsp; The X variable is numeric with a UDF.&amp;nbsp; The values are 1, 2, 3.&amp;nbsp; So, you can make the vector span from -delta to +delta on each side of the value.&amp;nbsp; In your case without a grouped case it should be simpler.&amp;nbsp; If you want mean and median, you can create a point pair for each.&amp;nbsp; You can set the line pattern of the second to dash, and see both values in the graph and legend. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 17:32:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133070#M5157</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2012-06-14T17:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133071#M5158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjay,&lt;/P&gt;&lt;P&gt;Thanks for your suggestion!!,&amp;nbsp; I tried in a different way but don't know why the square symbols were shown in the legend automatically.&amp;nbsp; Could you help to remove the squares from the legend. see attachment.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 16:07:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133071#M5158</guid>
      <dc:creator>John70</dc:creator>
      <dc:date>2012-06-15T16:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133072#M5159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm.&amp;nbsp; That may be a bug.&amp;nbsp; We don't expect scatterplots with MARKERCHARACTER to be added to a legend, so it is still drawing a default marker.&amp;nbsp; Setting MarkerAttrs does not work either as it ignores it.&amp;nbsp;&amp;nbsp; Here I used "- - - -" for median:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="MeanMarker.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/2160_MeanMarker.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 16:27:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133072#M5159</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2012-06-15T16:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133073#M5160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sanjay!&amp;nbsp; How to get the&amp;nbsp; "- - - -" for median, I mean which key in the computer keyboard was used.&amp;nbsp; John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 17:23:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133073#M5160</guid>
      <dc:creator>John70</dc:creator>
      <dc:date>2012-06-15T17:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133074#M5161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Turns out it is not really a bug.&amp;nbsp; The "marker" you are seeing is really a color swatch.&amp;nbsp; Instead of two separate statements, if you had used one with group values of "Mean" and "Median", you would see two swatches, one blue and one red (in listing style).&amp;nbsp; So, that may work for you if you have a color style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="MeanMarker.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/2164_MeanMarker.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 17:43:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133074#M5161</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2012-06-15T17:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133075#M5162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is just dash space dash space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 17:44:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133075#M5162</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2012-06-15T17:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133076#M5163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&amp;nbsp; The color style works. In my program, can I set the square color to white so that the square will "disappear". how to do that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the following does not work.&lt;/P&gt;&lt;P&gt;scatter x = trt y = mean / MARKERCHAR=meanbar(color=white)&amp;nbsp; legendlabel="--- Mean" name="Mean";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 18:50:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133076#M5163</guid>
      <dc:creator>John70</dc:creator>
      <dc:date>2012-06-15T18:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133077#M5164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where did you get that syntax from?&amp;nbsp; I suggest you look up the documentation on proc SGPLOT for various options.&amp;nbsp; Use markercharattrs=(color=white),&amp;nbsp; If you do use this, the ----- marker in the plot and its representation in the legend will be white.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 19:05:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133077#M5164</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2012-06-15T19:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133078#M5165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I did not ask the question clearly.&amp;nbsp; The question is:&amp;nbsp; Is there a way to turn off the color swatch or somehow let the color swatch to become white so that only ---Mean or - - median are shown in the legend.&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 20:21:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133078#M5165</guid>
      <dc:creator>John70</dc:creator>
      <dc:date>2012-06-15T20:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133079#M5166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not with SAS 9.2.&amp;nbsp; When you include a scatter plot with markerchar into the legend, you will get the swatch(s) in the legend of the same color as the markechar.&amp;nbsp; This is true with any plot.&amp;nbsp; With SAS 9.3 you have some new options.&amp;nbsp; Or, you can use the vector plot idea I mentioned in #6 earlier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 20:46:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133079#M5166</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2012-06-15T20:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133080#M5167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&amp;nbsp; Have a nice weekend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 21:41:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133080#M5167</guid>
      <dc:creator>John70</dc:creator>
      <dc:date>2012-06-15T21:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133081#M5168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe we got too wrapped up in the legend.&amp;nbsp; All you really need is this.&amp;nbsp; See INSET statement.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="MeanMarker.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/2165_MeanMarker.png" /&gt; &lt;/P&gt;&lt;P&gt;ods graphics / reset width=4in height=3in imagename='MeanMarker';&lt;BR /&gt;proc sgplot data=try1 noautolegend;&lt;/P&gt;&lt;P&gt;options orientation=landscape;&lt;BR /&gt;xaxis values=(0 to 4 by 1) label='Trt' ; &lt;BR /&gt;yaxis values=(-10 to 60 by 10) label="Something" ;&lt;BR /&gt;title "";&lt;/P&gt;&lt;P&gt;scatter x = trt y = value / markerattrs=(size=9 symbol=circle color=black) legendlabel="Individual Value" name="Ind"; &lt;BR /&gt;scatter x = trt y = mean / MARKERCHAR=meanbar legendlabel="--- Mean" name="Mean";&amp;nbsp; &lt;BR /&gt;scatter x = trt y = median / MARKERCHAR=mednbar legendlabel="xxx Median" name="Med";&lt;BR /&gt;inset ("--------" = "Mean" "- - - - -"="Median") / position=topright border;&lt;BR /&gt;/*keylegend "Ind" "Mean" "Med"/ title="" position=topright location=inside across=1 ;*/&lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 23:45:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133081#M5168</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2012-06-15T23:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133082#M5169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sunjay, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the tip with the INSET statement (first, I left out the legend as I had same problem as John).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think vector plot is also a good alternative. On the other hand, I liked the MARKERCHAR option, as it is easy to&lt;/P&gt;&lt;P&gt;use (here is an example of my graph):&lt;/P&gt;&lt;P&gt;&lt;IMG alt="natalie.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/2168_natalie.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Natalie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 09:00:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133082#M5169</guid>
      <dc:creator>Natalie</dc:creator>
      <dc:date>2012-06-18T09:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPLOT, SCATTER PLOT and "-" as SYMBOL ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133083#M5170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See &lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2012/06/17/graphical-display-of-statistics/"&gt;article on blog&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 20:50:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-SCATTER-PLOT-and-quot-quot-as-SYMBOL/m-p/133083#M5170</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2012-06-18T20:50:21Z</dc:date>
    </item>
  </channel>
</rss>

