<?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: Differentiate line thickness/marker size in sg template w/ graphdata elements in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117670#M4485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With SAS 9.2, colors and patterns (or symbols) cycle through the lists for each group.&amp;nbsp; So, first group value gets first color and first pattern, second group gets second color and second patter, and so on till you run out of the 11 patterns.&amp;nbsp; Then, group #12 gets 12th color and 1st pattern, and it continues..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want more colors, define more GraphData elements beyond 12 without any gaps in the color value.&amp;nbsp; If instead you want to hold the color constant, that is easy, just specify the color in the LINEATTRS option. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Apr 2013 21:20:01 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2013-04-23T21:20:01Z</dc:date>
    <item>
      <title>Differentiate line thickness/marker size in sg template w/ graphdata elements</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117664#M4479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IS there a way to only set the graph elements for the first graph data element&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for example;&lt;/P&gt;&lt;P&gt;I have&lt;/P&gt;&lt;P&gt;style Graphdata1 /Color=black line ;&lt;/P&gt;&lt;P&gt;style Graphdata1 /contrastColor=black linethickness=3 ;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want only one facility to stand out in terms of having a black line that is thicker and larger markers than the rest of them.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lawrence&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 20:39:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117664#M4479</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2013-04-23T20:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Differentiate line thickness/marker size in sg template w/ graphdata elements</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117665#M4480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but how depends on what version of SAS you are on. &lt;/P&gt;&lt;P&gt;So, which version are you on? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 20:41:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117665#M4480</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-04-23T20:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Differentiate line thickness/marker size in sg template w/ graphdata elements</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117666#M4481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On another note is there also another way to set it so that a color does not repeat the original graphdata element w/o specifying every color? I see a repeating black color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lawrence&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 20:42:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117666#M4481</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2013-04-23T20:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Differentiate line thickness/marker size in sg template w/ graphdata elements</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117667#M4482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reeza;&lt;/P&gt;&lt;P&gt;Good point-SAS 9.2. I am using indexes. The first index, coordinates graph data element 1. The rest I don't care about per se in terms of color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lawrence &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 20:47:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117667#M4482</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2013-04-23T20:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Differentiate line thickness/marker size in sg template w/ graphdata elements</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117668#M4483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can set line thickness or marker size in the GraphData elements, but these will not be honored in group case.&amp;nbsp; The color and pattern come from the GraphData elemtn, but thickness comes from the GraphDataDefault element.&amp;nbsp; The reason was to provide equal weight to all group values.&amp;nbsp; To draw one series with a different thickness, you will have to separate it out from the others and draw it with thicker line thickness in the LINEATTRS option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works the same way in Attribute Map too.&amp;nbsp; There have been requests for this feature so this may be added at a future release. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 21:05:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117668#M4483</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2013-04-23T21:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Differentiate line thickness/marker size in sg template w/ graphdata elements</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117669#M4484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sanjay.&lt;/P&gt;&lt;P&gt;Anyway some conditional logic might work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, is there a way to stop the colors from repeating in a pattern? What I see is that it goes for about 12 different colors, then the whole series repeats itself-&lt;/P&gt;&lt;P&gt;So it might be red, black, green...then back again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lawrence&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 21:11:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117669#M4484</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2013-04-23T21:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Differentiate line thickness/marker size in sg template w/ graphdata elements</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117670#M4485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With SAS 9.2, colors and patterns (or symbols) cycle through the lists for each group.&amp;nbsp; So, first group value gets first color and first pattern, second group gets second color and second patter, and so on till you run out of the 11 patterns.&amp;nbsp; Then, group #12 gets 12th color and 1st pattern, and it continues..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want more colors, define more GraphData elements beyond 12 without any gaps in the color value.&amp;nbsp; If instead you want to hold the color constant, that is easy, just specify the color in the LINEATTRS option. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 21:20:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117670#M4485</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2013-04-23T21:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Differentiate line thickness/marker size in sg template w/ graphdata elements</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117671#M4486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sanjay;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried defining the color after #12, but it seems to not take effect anymore-Are there limits on the number of graphing elements I can choose? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lawrence &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 17:08:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117671#M4486</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2013-04-24T17:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Differentiate line thickness/marker size in sg template w/ graphdata elements</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117672#M4487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a SAS 9.2 example.&amp;nbsp; Note Green and Black color needles and scatter markers for last two names. &lt;/P&gt;&lt;P&gt;Note: ContrastColor is used for the markers, Color is used for bars.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc template;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; define style Styles.Thirteen;&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;&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; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parent = styles.listing; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style GraphData13 /&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; markersymbol="circlefilled"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linestyle=1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; color=red contrastcolor=green;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style GraphData14 /&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; markersymbol="circlefilled"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linestyle=1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; color=gray contrastcolor=black;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods listing style=thirteen;&lt;BR /&gt;ods graphics / reset width=6in height=3in imagename='Thirteen';&lt;BR /&gt;proc sgplot data=sashelp.class(obs=14);&lt;BR /&gt;&amp;nbsp; needle x=name y=height / group=name lineattrs=(pattern=solid thickness=9);&lt;BR /&gt;&amp;nbsp; scatter x=name y=height / group=name markerattrs=(symbol=circlefilled size=20);&lt;BR /&gt;&amp;nbsp; yaxis offsetmin=0;&lt;BR /&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Thirteen.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3466_Thirteen.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 21:02:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Differentiate-line-thickness-marker-size-in-sg-template-w/m-p/117672#M4487</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2013-04-24T21:02:34Z</dc:date>
    </item>
  </channel>
</rss>

