<?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: Call to all Graph Experts --Please resolve this in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294216#M10357</link>
    <description>&lt;P&gt;Many users here don't want to download Excel files because of virus potential, others have such things blocked by security software. Also if you give us Excel we have to create a SAS data set and due to the non-existent constraints on Excel data cells the result we end up with may not have variables of the same type (numeric or character) and even values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can generate datastep code that can be pasted as text here using the information from this link &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Aug 2016 22:50:15 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-08-25T22:50:15Z</dc:date>
    <item>
      <title>Call to all Graph Experts --Please resolve this</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294206#M10354</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OK, this is going to be an interesting and challenging problem. Need help of all the experts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Issue : I am trying to plots some low to very high values (1 - 1000000000000) &amp;nbsp;on y-axis. X-axis is visit.&lt;/P&gt;&lt;P&gt;I am using Log scale for y-axis. I have following ticks on y-axis - 1, 1E1, 1E2, IE3...1E12.&lt;/P&gt;&lt;P&gt;I want to show values for tick 1E4 close to 1. Basically, I want minium gap between 1 and 1E4. How can this be&lt;/P&gt;&lt;P&gt;achieved ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use broken axis but it doesn't work with log scale. I would like to use log scale.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please provide any suggestion&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the sample code :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data = lbs ;&lt;BR /&gt;series x = weeks y = lbstresn / group = subjid groupms=subjid markers markerattrs=(size =4);&lt;BR /&gt;yaxis label = &amp;amp;lbl type = log logstyle = logexpand logvtype = exponent display = all min = &amp;amp;min max = &amp;amp;max;&lt;BR /&gt;xaxis values= (-1 to 36 by 1 ) label = " Weeks" display = all ;&lt;BR /&gt;keylegend / valueattrs = (size=6) title = 'Subjects' ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 21:50:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294206#M10354</guid>
      <dc:creator>Leo9</dc:creator>
      <dc:date>2016-08-25T21:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Call to all Graph Experts --Please resolve this</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294207#M10355</link>
      <description>&lt;P&gt;Sample data to replicate your code?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 22:01:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294207#M10355</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-08-25T22:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Call to all Graph Experts --Please resolve this</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294210#M10356</link>
      <description>&lt;P&gt;Attached&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 22:20:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294210#M10356</guid>
      <dc:creator>Leo9</dc:creator>
      <dc:date>2016-08-25T22:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Call to all Graph Experts --Please resolve this</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294216#M10357</link>
      <description>&lt;P&gt;Many users here don't want to download Excel files because of virus potential, others have such things blocked by security software. Also if you give us Excel we have to create a SAS data set and due to the non-existent constraints on Excel data cells the result we end up with may not have variables of the same type (numeric or character) and even values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can generate datastep code that can be pasted as text here using the information from this link &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 22:50:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294216#M10357</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-08-25T22:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Call to all Graph Experts --Please resolve this</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294324#M10358</link>
      <description>&lt;P&gt;Please provide your version of SAS.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 09:57:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294324#M10358</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-08-26T09:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Call to all Graph Experts --Please resolve this</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294444#M10366</link>
      <description>&lt;P&gt;SAS 9.2 M2&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 15:55:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294444#M10366</guid>
      <dc:creator>Leo9</dc:creator>
      <dc:date>2016-08-26T15:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Call to all Graph Experts --Please resolve this</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294471#M10369</link>
      <description>&lt;P&gt;Here is the sample data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data WORK.TEST;&lt;BR /&gt;infile datalines dsd truncover;&lt;BR /&gt;input LBTESTCD:$8. LBSTRESN:32. SUBJID:$9. WEEKS:32.;&lt;BR /&gt;datalines4;&lt;BR /&gt;SHDC,333032.03,102,0.1428571429&lt;BR /&gt;SHDC,290878.55,102,0.4285714286&lt;BR /&gt;SHDC,319447.4,102,1&lt;BR /&gt;SHDC,486860.71,102,2&lt;BR /&gt;SHDC,134068.56,102,3&lt;BR /&gt;SHDC,90190.05,102,4&lt;BR /&gt;SHDC,12000,102,6.1428571429&lt;BR /&gt;SHDC,12000,102,8&lt;BR /&gt;SHDC,12000,102,9&lt;BR /&gt;SHDC,,102,11.142857143&lt;BR /&gt;SHDC,,021,0.1428571429&lt;BR /&gt;SHDC,,021,0.4285714286&lt;BR /&gt;SHDC,,021,1.1428571429&lt;BR /&gt;SHDC,4395487.68,021,2&lt;BR /&gt;SHDC,7791809.28,021,3&lt;BR /&gt;SHDC,312460.46,021,4.1428571429&lt;BR /&gt;SHDC,52215.81,021,5&lt;BR /&gt;SHDC,12000,021,6&lt;BR /&gt;SHDC,12000,021,7&lt;BR /&gt;SHDC,12000,021,8&lt;BR /&gt;SHDC,12000,021,9&lt;BR /&gt;SHDC,12000,021,10&lt;BR /&gt;SHDC,34323.01,021,11&lt;BR /&gt;SHDC,12000,021,12&lt;BR /&gt;SHDC,12000,021,13&lt;BR /&gt;SHDC,12000,021,14.142857143&lt;BR /&gt;SHDC,12000,021,16&lt;BR /&gt;SHDC,1,022,-2.714285714&lt;BR /&gt;SHDC,75846.22,022,0.1428571429&lt;BR /&gt;SHDC,594414.43,022,0.5714285714&lt;BR /&gt;SHDC,350789.16,022,1&lt;BR /&gt;SHDC,434236.45,022,2&lt;BR /&gt;SHDC,220518.29,022,3&lt;BR /&gt;SHDC,37704.41,022,4.1428571429&lt;BR /&gt;SHDC,12000,022,5.1428571429&lt;BR /&gt;SHDC,12000,022,6&lt;BR /&gt;SHDC,12000,022,7&lt;BR /&gt;SHDC,12000,022,8&lt;BR /&gt;SHDC,1,022,9&lt;BR /&gt;SHDC,1,001,-1&lt;BR /&gt;SHDC,12000,001,0.1428571429&lt;BR /&gt;SHDC,74771.36,001,0.4285714286&lt;BR /&gt;SHDC,60308.3,001,1&lt;BR /&gt;SHDC,40144.87,001,2&lt;BR /&gt;SHDC,12000,001,4&lt;BR /&gt;SHDC,12000,001,5&lt;BR /&gt;SHDC,12000,001,6&lt;BR /&gt;SHDC,12000,001,7&lt;BR /&gt;SHDC,12000,001,8&lt;BR /&gt;SHDC,1,001,9&lt;BR /&gt;SHDC,1,001,10&lt;BR /&gt;SHDC,1,001,11&lt;BR /&gt;SHDC,1,001,12&lt;BR /&gt;SHDC,,001,13.142857143&lt;BR /&gt;SHDC,,001,14&lt;BR /&gt;SHDC,,001,15&lt;BR /&gt;SHDC,,001,28.285714286&lt;BR /&gt;SHDC,1,002,-1&lt;BR /&gt;SHDC,12000,002,0.1428571429&lt;BR /&gt;SHDC,12000,002,0.4285714286&lt;BR /&gt;SHDC,12000,002,1.2857142857&lt;BR /&gt;SHDC,12000,002,2.4285714286&lt;BR /&gt;SHDC,12000,002,3&lt;BR /&gt;SHDC,12000,002,4&lt;BR /&gt;SHDC,12000,002,5&lt;BR /&gt;SHDC,,002,6.1428571429&lt;BR /&gt;SHDC,,002,7&lt;BR /&gt;SHDC,1,002,8&lt;BR /&gt;SHDC,1,002,9&lt;BR /&gt;SHDC,12000,002,10&lt;BR /&gt;SHDC,1,002,11&lt;BR /&gt;SHDC,1,002,12&lt;BR /&gt;SHDC,1,002,13&lt;BR /&gt;SHDC,1,002,14&lt;BR /&gt;SHDC,1,002,15&lt;BR /&gt;SHDC,,002,16&lt;BR /&gt;SHDC,,002,20&lt;BR /&gt;SHDC,1,003,-1.142857143&lt;BR /&gt;SHDC,238238.52,003,0.1428571429&lt;BR /&gt;SHDC,426241.73,003,0.4285714286&lt;BR /&gt;SHDC,973322.23,003,1.2857142857&lt;BR /&gt;SHDC,268264.28,003,1.8571428571&lt;BR /&gt;SHDC,175213.31,003,2.8571428571&lt;BR /&gt;SHDC,29571.7,003,4&lt;BR /&gt;SHDC,12000,003,4.8571428571&lt;BR /&gt;SHDC,12000,003,5.8571428571&lt;BR /&gt;SHDC,12000,003,6.8571428571&lt;BR /&gt;SHDC,12000,003,7.8571428571&lt;BR /&gt;SHDC,1,123,-1&lt;BR /&gt;SHDC,7052629.92,123,0.1428571429&lt;BR /&gt;SHDC,50180642.4,123,0.4285714286&lt;BR /&gt;SHDC,16152353.28,123,1&lt;BR /&gt;SHDC,6006247.44,123,2&lt;BR /&gt;SHDC,4360246.56,123,3.1428571429&lt;BR /&gt;SHDC,431407.26,123,4&lt;BR /&gt;SHDC,57950.34,123,5&lt;BR /&gt;SHDC,30263.48,123,6&lt;BR /&gt;SHDC,12000,123,7&lt;BR /&gt;SHDC,1,124,-2&lt;BR /&gt;SHDC,2951737.13,124,1&lt;BR /&gt;SHDC,2206464.96,124,2&lt;BR /&gt;SHDC,280740.86,082,0.1428571429&lt;BR /&gt;SHDC,5193730.08,082,1&lt;BR /&gt;SHDC,17723615.04,082,2&lt;BR /&gt;SHDC,651633.96,082,4&lt;BR /&gt;SHDC,12000,082,6&lt;BR /&gt;SHDC,12000,082,7&lt;BR /&gt;SHDC,12000,082,8&lt;BR /&gt;;;;;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 16:52:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294471#M10369</guid>
      <dc:creator>Leo9</dc:creator>
      <dc:date>2016-08-26T16:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Call to all Graph Experts --Please resolve this</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294517#M10370</link>
      <description>&lt;P&gt;What I would normally suggest in a situation like that would be to compute the log value into a separate column and use that column with a linear axis. That way, you can create a broken axis. However, if you are using SAS 9.2m2, then we did not have broken axis support (via the RANGES option) in SGPLOT. If you tried the RANGES option without a syntax error, did you mean SAS 9.4m2?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;BR /&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 19:56:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294517#M10370</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2016-08-26T19:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Call to all Graph Experts --Please resolve this</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294524#M10371</link>
      <description>&lt;P&gt;Sorry I meant 9.4M2. Thanks for catching that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try the solution you suggested but it is not working either.&lt;/P&gt;&lt;P&gt;What I did is did log transformation of the lab values first and then&lt;/P&gt;&lt;P&gt;use it with linear scale with range option. Interestingly y-axis is not&lt;/P&gt;&lt;P&gt;even getting broke now. Not sure why.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data = lbs ;&lt;BR /&gt;series x = weeks y = lbstresn2 / group = subjid groupms=subjid markers markerattrs=(size =4);&lt;BR /&gt;yaxis label = &amp;amp;lbl type = linear /*min = &amp;amp;min max = &amp;amp;max*/ranges = (0-0.3 3.8-max) values = (0 to 18 by 0.1) &amp;nbsp;display = all;&lt;BR /&gt;xaxis values= (-3 to 36 by 1 ) label = "Weeks" display = all ;&lt;BR /&gt;keylegend / valueattrs = (size=6) title = 'Subjects' ;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 20:46:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294524#M10371</guid>
      <dc:creator>Leo9</dc:creator>
      <dc:date>2016-08-26T20:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Call to all Graph Experts --Please resolve this</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294525#M10372</link>
      <description>&lt;P&gt;Sorry it was 9.4M2. Typo&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 20:46:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294525#M10372</guid>
      <dc:creator>Leo9</dc:creator>
      <dc:date>2016-08-26T20:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Call to all Graph Experts --Please resolve this</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294531#M10373</link>
      <description>&lt;P&gt;See the attached picture to see if this is the desired effect. I created it with your sample data and a slight modification of your code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test2;
set test;
lbstresn2 = log10(lbstresn);
run;

proc sgplot data = test2 ;
series x = weeks y = lbstresn2 / group = subjid groupms=subjid markers markerattrs=(size =4);
yaxis label = "Y axis label" type = linear ranges = (0-0.3 3.8-8) values=(0 to 8 by 0.1) display = all;
xaxis values= (-3 to 36 by 1 ) label = "Weeks" display = all ;
keylegend / valueattrs = (size=6) title = 'Subjects' ;
run;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12888iDCBD3AA75C977024/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="BrokenAxis.png" title="BrokenAxis.png" /&gt;</description>
      <pubDate>Fri, 26 Aug 2016 21:33:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294531#M10373</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2016-08-26T21:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Call to all Graph Experts --Please resolve this</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294535#M10374</link>
      <description>&lt;P&gt;Yes this is what I wanted. Interestingly when I used the same range, it wasn't breaking Y-axis.&lt;/P&gt;&lt;P&gt;What did you modify ? Thanks again&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 22:19:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294535#M10374</guid>
      <dc:creator>Leo9</dc:creator>
      <dc:date>2016-08-26T22:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Call to all Graph Experts --Please resolve this</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294568#M10375</link>
      <description>&lt;P&gt;I changed the numeric range of the VALUES option, and I changed "max" in the RANGES option to be a literal value that enclosed the data range. I did the latter due to a log message about a magnitude issue with the RANGES option. The option was ignored because of it, which might be why the axis break did not work for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;BR /&gt;Dan&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2016 03:43:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Call-to-all-Graph-Experts-Please-resolve-this/m-p/294568#M10375</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2016-08-27T03:43:06Z</dc:date>
    </item>
  </channel>
</rss>

