<?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: Varying colours in vaxis in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Varying-colours-in-vaxis/m-p/284373#M10064</link>
    <description>&lt;P&gt;What ius the benefit of multiple plots with different value ranges on one Y axis? &amp;nbsp;Could you not gain the same insight if the plots were stacked on a common x-axis? &amp;nbsp;Can you provide a non-confidential example?&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jul 2016 15:39:35 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2016-07-14T15:39:35Z</dc:date>
    <item>
      <title>Varying colours in vaxis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Varying-colours-in-vaxis/m-p/279199#M9932</link>
      <description>&lt;P&gt;I use gplot (SAS 9.4.3) with unevenly spaced axis values (see attached) as 3 ranges: -2 to +2, 4.24 to 4.36 and 20 to 42. While I can specify different colours for the axis labels, is there a way to&amp;nbsp;apply different colours to axis values as well?&lt;/P&gt;
&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 04:24:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Varying-colours-in-vaxis/m-p/279199#M9932</guid>
      <dc:creator>PTD_SAS</dc:creator>
      <dc:date>2016-06-22T04:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Varying colours in vaxis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Varying-colours-in-vaxis/m-p/283772#M10041</link>
      <description>&lt;P&gt;It is not clear what your objective is. &amp;nbsp;Your Y axis has three distince ranges - "-2.0 to 2.0", &amp;nbsp;"4.24 to 4.36" and&amp;nbsp;"20 to 42". &amp;nbsp;These are not drawn with a consistent linear scale. &amp;nbsp;Are they really one graph? &amp;nbsp;Why not separate it into three graphs, one each for "MD Taps", "Volts" and "Auxiliary MW".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, you could use bands in the graph to display the three regions, especially if each region does not end exactly at the value on the axis. &amp;nbsp;With SGPLOT, you can use the BAND statement.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 13:58:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Varying-colours-in-vaxis/m-p/283772#M10041</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2016-07-12T13:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Varying colours in vaxis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Varying-colours-in-vaxis/m-p/283912#M10051</link>
      <description>&lt;P&gt;Sanjay,&lt;/P&gt;
&lt;P&gt;Thanks for your comments. I overlay&amp;nbsp;5 different graphs with different value ranges on the 2 vertical axises, i.e. 2 graphs on the left axis and 3 graphs on the right axis. I had to split the axis value ranges into non linear groups and was just looking at a way to have the axis value ranges the same colour as the corresponding graphs.&lt;/P&gt;
&lt;P&gt;I'll have a look at SGPLOT and BAND as you suggested.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 23:00:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Varying-colours-in-vaxis/m-p/283912#M10051</guid>
      <dc:creator>PTD_SAS</dc:creator>
      <dc:date>2016-07-12T23:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Varying colours in vaxis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Varying-colours-in-vaxis/m-p/284373#M10064</link>
      <description>&lt;P&gt;What ius the benefit of multiple plots with different value ranges on one Y axis? &amp;nbsp;Could you not gain the same insight if the plots were stacked on a common x-axis? &amp;nbsp;Can you provide a non-confidential example?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 15:39:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Varying-colours-in-vaxis/m-p/284373#M10064</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2016-07-14T15:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Varying colours in vaxis</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Varying-colours-in-vaxis/m-p/284722#M10067</link>
      <description>&lt;P&gt;Hi Sanjay,&lt;/P&gt;
&lt;P&gt;Attached is my code and the graph output, haven't been able to attach the dataset, won't accept it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I actually plot 6 variables on a shared x axis and 2 vertical axes. You'll notice the uneven axis ranges in the axis statements for the&amp;nbsp;vertical axes, my aim was to be able to specify different colours for each range so it makes the graph more readable. E.g. in the right vertical axis, to have -2 to 2 in red, 4.24 to 4.36 in purple and the rest in green.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12750i9436C58F85750F38/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="FN graph.gif" title="FN graph.gif" /&gt;</description>
      <pubDate>Fri, 15 Jul 2016 01:35:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Varying-colours-in-vaxis/m-p/284722#M10067</guid>
      <dc:creator>PTD_SAS</dc:creator>
      <dc:date>2016-07-15T01:35:21Z</dc:date>
    </item>
  </channel>
</rss>

