<?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: 3D scatter plots in sgplot? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/3D-scatter-plots-in-sgplot/m-p/797316#M22607</link>
    <description>&lt;P&gt;Let me play "devil's advocate" a little first ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you 100% certain that a 2d snapshot of one view of a 3d scatter plot is a good way to display/analyze your data? I find that 3d plots often look interesting/fancy, but aren't really good for analytics. Make sure to answer that question, before investing too much time &amp;amp; money on trying to get 3d plots! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Feb 2022 20:57:46 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2022-02-18T20:57:46Z</dc:date>
    <item>
      <title>3D scatter plots in sgplot?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/3D-scatter-plots-in-sgplot/m-p/797164#M22603</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to make a 3D scatter plot in SAS that has more customization and smoother graphics than G3D? A macro for sgplot would be amazing.&lt;/P&gt;&lt;P&gt;I found an older SAS macro (&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2015/03/10/a-3d-scatter-plot-macro/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2015/03/10/a-3d-scatter-plot-macro/&lt;/A&gt;) that doesn't seem to work when I run it in SAS studio.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many error codes that all seem to do with the following recurring error:&lt;/P&gt;&lt;P&gt;ERROR 251-185: The subroutine MATMULT is unknown, or cannot be accessed. Check your spelling.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help to move me towards a publication quality 3d scatter plot would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 08:00:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/3D-scatter-plots-in-sgplot/m-p/797164#M22603</guid>
      <dc:creator>jenningsa</dc:creator>
      <dc:date>2022-02-18T08:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: 3D scatter plots in sgplot?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/3D-scatter-plots-in-sgplot/m-p/797165#M22604</link>
      <description>&lt;P&gt;Go back to the blog and include the matrix functions from the second link. I don't know if this will fix all of your problems, but it should get you further.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 08:04:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/3D-scatter-plots-in-sgplot/m-p/797165#M22604</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2022-02-18T08:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: 3D scatter plots in sgplot?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/3D-scatter-plots-in-sgplot/m-p/797196#M22605</link>
      <description>&lt;P&gt;You can resort to proc iml instead of using matmult which gives you an error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it requieres a license.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;furthermore in sas viya / visual analytics you can use Data-driven content for advanced visualisations.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and another - not tested - possibility is using SAS Viya's open source gateway and run R or python graph libraries which do offer more 3-D visualisations.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 10:59:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/3D-scatter-plots-in-sgplot/m-p/797196#M22605</guid>
      <dc:creator>acordes</dc:creator>
      <dc:date>2022-02-18T10:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: 3D scatter plots in sgplot?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/3D-scatter-plots-in-sgplot/m-p/797205#M22606</link>
      <description>&lt;P&gt;You could find many 3D graph from&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://robslink.com/" target="_blank"&gt;https://robslink.com/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://robslink.com/SAS/democd41/aaaindex.htm" target="_blank"&gt;https://robslink.com/SAS/democd41/aaaindex.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;that is website of&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13585"&gt;@GraphGuy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 12:18:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/3D-scatter-plots-in-sgplot/m-p/797205#M22606</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-02-18T12:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: 3D scatter plots in sgplot?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/3D-scatter-plots-in-sgplot/m-p/797316#M22607</link>
      <description>&lt;P&gt;Let me play "devil's advocate" a little first ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you 100% certain that a 2d snapshot of one view of a 3d scatter plot is a good way to display/analyze your data? I find that 3d plots often look interesting/fancy, but aren't really good for analytics. Make sure to answer that question, before investing too much time &amp;amp; money on trying to get 3d plots! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 20:57:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/3D-scatter-plots-in-sgplot/m-p/797316#M22607</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2022-02-18T20:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: 3D scatter plots in sgplot?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/3D-scatter-plots-in-sgplot/m-p/797322#M22608</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3d scatter - fateflower lsmeans (1).png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68675i4C717B9BBF375020/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3d scatter - fateflower lsmeans (1).png" alt="3d scatter - fateflower lsmeans (1).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I found a slightly modified macro (&lt;A href="https://github.com/Jiangtang/Programming-SAS/blob/master/ODS/Graphics/3D%20Scatter%20Plot%20Animation.sas" target="_blank" rel="noopener"&gt;https://github.com/Jiangtang/Programming-SAS/blob/master/ODS/Graphics/3D%20Scatter%20Plot%20Animation.sas&lt;/A&gt;) that I managed to tweak to my needs and updated a few lines of code for use in SAS studio. The figure is nice looking, but not quite what I need because there are no values on the axes and the axes labels aren't parallel to the axes. Also, the z-axis label cuts off because it is a long variable name.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any thoughts on how to modify the program to resolve the aesthetics?&lt;/P&gt;</description>
      <pubDate>Sun, 20 Feb 2022 06:34:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/3D-scatter-plots-in-sgplot/m-p/797322#M22608</guid>
      <dc:creator>jenningsa</dc:creator>
      <dc:date>2022-02-20T06:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: 3D scatter plots in sgplot?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/3D-scatter-plots-in-sgplot/m-p/797335#M22609</link>
      <description>&lt;P&gt;I fully agree with Robert (GraphGuy) about the use of 3D plots to display data.&amp;nbsp; If your data is really 3D, with X, Y and Z variables, then it does make sense to view it in a 3D view.&amp;nbsp; You are really trying to see the shape of the data and not the actual values.&amp;nbsp; The macro does this but adding axis details will only clutter it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, if data is 2D, one should avoid trying to view it in 3D just for the "glitz" value.&amp;nbsp; See example:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2018/04/24/3d-waterfall-chart-redux/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2018/04/24/3d-waterfall-chart-redux/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 22:07:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/3D-scatter-plots-in-sgplot/m-p/797335#M22609</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2022-02-18T22:07:22Z</dc:date>
    </item>
  </channel>
</rss>

