<?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: SGPanel: marker size modifies the position of observations over the x-axis in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SGPanel-marker-size-modifies-the-position-of-observations-over/m-p/886822#M350408</link>
    <description>&lt;P&gt;You should include the ODS destination statement and ODS Graphics options in effect. Better would be to include an actual data set we test code with.&lt;/P&gt;
&lt;P&gt;The orientation of your attached PDF does not quite align with your description of "right to left" as the attachment has the image rotated in respect to the document layout, which also may have an impact.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Suggestion: use fewer points, modify the dattrmap to include two definitions of marker size and overlay the same data with the two different attribute maps (that is TWO scatter statements). Then you are displaying the same points in the same location and we don't have to deal with optical illusion effects that may be involved with moving eyes left/right to "see" if relative locations are the same.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jul 2023 14:40:32 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2023-07-28T14:40:32Z</dc:date>
    <item>
      <title>SGPanel: marker size modifies the position of observations over the x-axis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SGPanel-marker-size-modifies-the-position-of-observations-over/m-p/886809#M350404</link>
      <description>&lt;P&gt;Dear members,&lt;/P&gt;&lt;P&gt;I recently realized that the position of observations on the x-axis was modified according to the size specified in the markercharattrs option. It appears as a simple translation of the scatterplot from the right to the left as the size increases (I enclosed two graphs, with size=2 and size=20, respectively). I suppose there is a good reason for this happening (and I'd be grateful if you'd explain it to me) but I find this a very serious problem, as it can easily go unnoticed.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc sort data=anno1_itraxind ; by wood bois; run;&lt;BR /&gt;proc sgpanel data=anno1_itraxind noautolegend dattrmap=myattrmap;&lt;BR /&gt;format markersp $symbesp.;&lt;BR /&gt;panelby wood bois / rows=2 novarname headerattrs=(size=12) uniscale=column;&lt;BR /&gt;scatter x=x y=y / group=site attrid=myid name='a' markerchar=markersp markercharattrs=(Family="Arial Unicode MS" size=20) transparency=0.3;&lt;BR /&gt;rowaxis label="PC2" offsetmin=0 offsetmax=0 values=(-6 to 6 by 2) labelattrs=(size=14) valueattrs=(size=12);&lt;BR /&gt;colaxis label="PC1" offsetmin=0 offsetmax=0 values=(-6 to 6 by 2) labelattrs=(size=14) valueattrs=(size=12);&lt;BR /&gt;refline 0/ axis=x lineattrs=(pattern=1 thickness=1px color=black);&lt;BR /&gt;refline 0/ axis=y lineattrs=(pattern=1 thickness=1px color=black);&lt;BR /&gt;keylegend 'a' / title="" noborder;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 13:41:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SGPanel-marker-size-modifies-the-position-of-observations-over/m-p/886809#M350404</guid>
      <dc:creator>ponton</dc:creator>
      <dc:date>2023-07-28T13:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: SGPanel: marker size modifies the position of observations over the x-axis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SGPanel-marker-size-modifies-the-position-of-observations-over/m-p/886822#M350408</link>
      <description>&lt;P&gt;You should include the ODS destination statement and ODS Graphics options in effect. Better would be to include an actual data set we test code with.&lt;/P&gt;
&lt;P&gt;The orientation of your attached PDF does not quite align with your description of "right to left" as the attachment has the image rotated in respect to the document layout, which also may have an impact.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Suggestion: use fewer points, modify the dattrmap to include two definitions of marker size and overlay the same data with the two different attribute maps (that is TWO scatter statements). Then you are displaying the same points in the same location and we don't have to deal with optical illusion effects that may be involved with moving eyes left/right to "see" if relative locations are the same.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 14:40:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SGPanel-marker-size-modifies-the-position-of-observations-over/m-p/886822#M350408</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-07-28T14:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: SGPanel: marker size modifies the position of observations over the x-axis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SGPanel-marker-size-modifies-the-position-of-observations-over/m-p/886827#M350410</link>
      <description>&lt;P&gt;Seems like this issue is.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;offsetmin=0 offsetmax=0&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Fiddle with those and see what happens.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 15:37:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SGPanel-marker-size-modifies-the-position-of-observations-over/m-p/886827#M350410</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2023-07-28T15:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: SGPanel: marker size modifies the position of observations over the x-axis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SGPanel-marker-size-modifies-the-position-of-observations-over/m-p/886953#M350464</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*Try option "labelstrip"*/
proc sgplot data=sashelp.class;
scatter x=weight y=height/markerchar=name group=sex labelstrip;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 29 Jul 2023 09:53:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SGPanel-marker-size-modifies-the-position-of-observations-over/m-p/886953#M350464</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-07-29T09:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: SGPanel: marker size modifies the position of observations over the x-axis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SGPanel-marker-size-modifies-the-position-of-observations-over/m-p/887063#M350508</link>
      <description>&lt;P&gt;Thank you very much, Ksharp, for this suggestion, which does indeed solve the problem.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 07:34:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SGPanel-marker-size-modifies-the-position-of-observations-over/m-p/887063#M350508</guid>
      <dc:creator>ponton</dc:creator>
      <dc:date>2023-07-31T07:34:29Z</dc:date>
    </item>
  </channel>
</rss>

