<?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 3D graphics with z being a region name(char value)? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/3D-graphics-with-z-being-a-region-name-char-value/m-p/29636#M862</link>
    <description>I want to plot 3d Graph y*x=z with y=sales(numeric), x=week(numeric) and z=region(char). Is it possible to do so?&lt;BR /&gt;
I know that PROC G3D asks for all three values to be numeric, but maybe there is some workaround?</description>
    <pubDate>Tue, 15 Mar 2011 06:38:31 GMT</pubDate>
    <dc:creator>efunk</dc:creator>
    <dc:date>2011-03-15T06:38:31Z</dc:date>
    <item>
      <title>3D graphics with z being a region name(char value)?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/3D-graphics-with-z-being-a-region-name-char-value/m-p/29636#M862</link>
      <description>I want to plot 3d Graph y*x=z with y=sales(numeric), x=week(numeric) and z=region(char). Is it possible to do so?&lt;BR /&gt;
I know that PROC G3D asks for all three values to be numeric, but maybe there is some workaround?</description>
      <pubDate>Tue, 15 Mar 2011 06:38:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/3D-graphics-with-z-being-a-region-name-char-value/m-p/29636#M862</guid>
      <dc:creator>efunk</dc:creator>
      <dc:date>2011-03-15T06:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: 3D graphics with z being a region name(char value)?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/3D-graphics-with-z-being-a-region-name-char-value/m-p/29637#M863</link>
      <description>No one really knows how to do it?</description>
      <pubDate>Wed, 16 Mar 2011 15:43:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/3D-graphics-with-z-being-a-region-name-char-value/m-p/29637#M863</guid>
      <dc:creator>efunk</dc:creator>
      <dc:date>2011-03-16T15:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: 3D graphics with z being a region name(char value)?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/3D-graphics-with-z-being-a-region-name-char-value/m-p/29638#M864</link>
      <description>This might depend on what device you're using (dev=java, dev=activex, dev=png, etc) ...&lt;BR /&gt;
&lt;BR /&gt;
But, if it's saying you must use numeric values, and you want them to show up as character, you could create numeric values in your data, and then have them print as the desired value using a user-defined format.&lt;BR /&gt;
&lt;BR /&gt;
Here's a simple example I've modified to demonstrate...&lt;BR /&gt;
&lt;BR /&gt;
proc format;&lt;BR /&gt;
value my_fmt&lt;BR /&gt;
1 = "A"&lt;BR /&gt;
9 = "B"&lt;BR /&gt;
17 = "C"&lt;BR /&gt;
25 = "D"&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc g3d data=sashelp.iris;&lt;BR /&gt;
format PetalWidth my_fmt.;&lt;BR /&gt;
   scatter PetalLength*PetalWidth=SepalLength / size=1.8;  &lt;BR /&gt;
run;</description>
      <pubDate>Wed, 16 Mar 2011 16:55:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/3D-graphics-with-z-being-a-region-name-char-value/m-p/29638#M864</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2011-03-16T16:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: 3D graphics with z being a region name(char value)?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/3D-graphics-with-z-being-a-region-name-char-value/m-p/29639#M865</link>
      <description>Thank you. This helped me a lot.</description>
      <pubDate>Wed, 16 Mar 2011 19:57:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/3D-graphics-with-z-being-a-region-name-char-value/m-p/29639#M865</guid>
      <dc:creator>efunk</dc:creator>
      <dc:date>2011-03-16T19:57:33Z</dc:date>
    </item>
  </channel>
</rss>

