<?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: Error While creating graph in SAS Studio in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Error-While-creating-graph-in-SAS-Studio/m-p/438578#M4675</link>
    <description>But what if i want to analyse all record for particular purpose ? Still do I need to summarized my data ?</description>
    <pubDate>Tue, 20 Feb 2018 09:21:52 GMT</pubDate>
    <dc:creator>jaycss</dc:creator>
    <dc:date>2018-02-20T09:21:52Z</dc:date>
    <item>
      <title>Error While creating graph in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-While-creating-graph-in-SAS-Studio/m-p/438556#M4671</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am learning SAS Studio. I want to create Bar chart in SAS Studio. I have data set with row count of&amp;nbsp;&lt;SPAN&gt;7453215. When I am execute SAS program to create Bar Chart it throws me following error.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="sasError"&gt;&lt;PRE&gt;ERROR: The data to be rendered has exceeded the MAXOBS limit of 2000000. You can set MAXOBS=7453215 on the ODS GRAPHICS statement to render the graph.&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;I have tried to set &lt;STRONG&gt;firstobs=1 obs=&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;7453215&lt;/STRONG&gt;&amp;nbsp;also. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics / reset width=6.4in height=4.8in imagemap;

proc sgplot data=MYLIB.TBL2007;
	vbar FlightNum / group=Year groupdisplay=cluster;
	yaxis grid;
run;

ods graphics / reset;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;SPAN&gt;But it did not work for me. Do I committed&amp;nbsp;any mistakes or driving in wrong&amp;nbsp;direction? Give&amp;nbsp;me some suggestion. Thank&amp;nbsp;you.&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error.JPG" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18689iE7782497B6A3B47B/image-size/small?v=v2&amp;amp;px=200" role="button" title="Error.JPG" alt="Error.JPG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Feb 2018 09:22:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-While-creating-graph-in-SAS-Studio/m-p/438556#M4671</guid>
      <dc:creator>jaycss</dc:creator>
      <dc:date>2018-02-20T09:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error While creating graph in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-While-creating-graph-in-SAS-Studio/m-p/438560#M4672</link>
      <description>&lt;P&gt;And what happened with maxobs set to 7453215?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The log is text, so please post is using {i} icon.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 08:30:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-While-creating-graph-in-SAS-Studio/m-p/438560#M4672</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-02-20T08:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error While creating graph in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-While-creating-graph-in-SAS-Studio/m-p/438567#M4673</link>
      <description>&lt;P&gt;You have hit a limitation of not just SAS, but the human eye.&amp;nbsp; No graph should be displaying 7453215 observations, a normal size graph would not have space to display a fraction of this.&lt;/P&gt;
&lt;P&gt;Summarise your data by your categories - this will be x or y axis depending on direction of bar, then plot the summarised data.&amp;nbsp; For instance, if I have a dataset with subject,age and val with 20,000 records I could try plotting that, or I could ascertain what categories I want to see in my graph and then summarise (maybe mean, high/low, standard deviation etc.).&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 09:04:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-While-creating-graph-in-SAS-Studio/m-p/438567#M4673</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-02-20T09:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error While creating graph in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-While-creating-graph-in-SAS-Studio/m-p/438577#M4674</link>
      <description>Still facing same error.</description>
      <pubDate>Tue, 20 Feb 2018 09:20:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-While-creating-graph-in-SAS-Studio/m-p/438577#M4674</guid>
      <dc:creator>jaycss</dc:creator>
      <dc:date>2018-02-20T09:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error While creating graph in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-While-creating-graph-in-SAS-Studio/m-p/438578#M4675</link>
      <description>But what if i want to analyse all record for particular purpose ? Still do I need to summarized my data ?</description>
      <pubDate>Tue, 20 Feb 2018 09:21:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-While-creating-graph-in-SAS-Studio/m-p/438578#M4675</guid>
      <dc:creator>jaycss</dc:creator>
      <dc:date>2018-02-20T09:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error While creating graph in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-While-creating-graph-in-SAS-Studio/m-p/438587#M4676</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;But what if i want to analyse all record for particular purpose" - please define.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I would recommend you summarise.&amp;nbsp; The point of a graph is to show in simple shapes the data, plotting every single point in a dataset will almost never create a viewable graph.&amp;nbsp; Decide what you want to see in the graph, what is the bar your trying to show, is it the maximum, or the count or something else.&amp;nbsp; Then organise the data to show just the results you want to see, then plot those.&amp;nbsp; A simple example, I could take the data from sashelp.class, and plot M/F against age, this would make my Xaxis have lots of individual columns, as there are many ages.&amp;nbsp; This is not conducive to easily looking at the data, so in this instance I take the decision to sum by age category which I create, in this way I may have 3 or 4 xaxis columns, and the data is easy to view.&amp;nbsp; Without knowing your problem I cant suggest.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 09:49:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-While-creating-graph-in-SAS-Studio/m-p/438587#M4676</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-02-20T09:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error While creating graph in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-While-creating-graph-in-SAS-Studio/m-p/540480#M7153</link>
      <description>&lt;P&gt;Try setting your maxobs higher:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods graphics on / obsmax=11000000;&lt;BR /&gt;proc sgplot data=out;&lt;BR /&gt;scatter y=y x=x/group=cluster;&lt;BR /&gt;run;&lt;BR /&gt;ods graphics off;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 15:58:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-While-creating-graph-in-SAS-Studio/m-p/540480#M7153</guid>
      <dc:creator>athienitis</dc:creator>
      <dc:date>2019-03-05T15:58:27Z</dc:date>
    </item>
  </channel>
</rss>

