<?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: Q: How to: Vbar left Y-axis and plot/interpol=join right Y-axis? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Q-How-to-Vbar-left-Y-axis-and-plot-interpol-join-right-Y-axis/m-p/83383#M3085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I feel somewhat like an idiot for not having thought of PROC GBARLINE before. However, if anyone reads this and knows a way to have interpol=step work with overlay/areas to achieve the intended output, that would be really appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jul 2013 12:59:40 GMT</pubDate>
    <dc:creator>Vince28_Statcan</dc:creator>
    <dc:date>2013-07-18T12:59:40Z</dc:date>
    <item>
      <title>Q: How to: Vbar left Y-axis and plot/interpol=join right Y-axis?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Q-How-to-Vbar-left-Y-axis-and-plot-interpol-join-right-Y-axis/m-p/83382#M3084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find myself with datapoints by timeslices. 18 data points per day as for the business hour (6-24) for a call center. Leaving appearances options and axis statements out (for the Y-axis) not to break the statistic act, here is more or less what my original approach is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;symbol1 interpol=join;&lt;BR /&gt;options nobyline;&lt;/P&gt;&lt;P&gt;title "something #BYVAL";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;legend1 position=(bottom center outside) down=3;&lt;/P&gt;&lt;P&gt;legend2 position=(bottom center outside) down=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*axis1 ...*/&lt;/P&gt;&lt;P&gt;/*axis2 ...*/&lt;/P&gt;&lt;P&gt;axis3 label=("Time") order=("6:00"t to "24:00"t by hour) minor=(number=1) value=(angle=90);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gplot data=temp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; by date;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; label busyhours="Time spent answering calls"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; notreadyhours="Time spent on breaks"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logonhours="Time spent idle";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; plot (busyhours notreadyhours logonhours)*time / haxis=axis3 vaxis=axis1 overlay areas=3 legend=legend1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; plot2 droppedcalls*time / vaxis=axis2 legend=legend2;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the above is faulty as it give the representation as though my data was continuous (or almost) where in reality they're hourly aggregates. I simply want to create the alternative output in case the clients need visual explanation of this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Originally, I was using device=java or device=activex with html output and the object functionalities would allow me to dynamically change one of the graphs from an interpol=join to an interpol=step and it would suffice to depict the concept (it kills the last data point). However, constraints on the client side are such that I can't provide the .JAR or activex .exe and after falling back to PDF output, I find myself unable to reproduce that vbar like effect of interpol=step. In particular, when I change interpol=join to interpol=step in the above for PDF output, I lose the overlay+areas filling effect and a bunch of lines at different height is really awful to seize the information in the graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So onwards to the question, which is pretty much the thread title:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I achieve, within the same graph, a vbar setup where 3 data values pile up for each data point and have a join curve of a closely related but completely different variable on the right axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. I am not keen to using annotate facility as I am unfamiliar with it and the by variable produces 90 graphics (one per day) and it seems like a tedious job to learn annotate with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 12:43:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Q-How-to-Vbar-left-Y-axis-and-plot-interpol-join-right-Y-axis/m-p/83382#M3084</guid>
      <dc:creator>Vince28_Statcan</dc:creator>
      <dc:date>2013-07-18T12:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Q: How to: Vbar left Y-axis and plot/interpol=join right Y-axis?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Q-How-to-Vbar-left-Y-axis-and-plot-interpol-join-right-Y-axis/m-p/83383#M3085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I feel somewhat like an idiot for not having thought of PROC GBARLINE before. However, if anyone reads this and knows a way to have interpol=step work with overlay/areas to achieve the intended output, that would be really appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 12:59:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Q-How-to-Vbar-left-Y-axis-and-plot-interpol-join-right-Y-axis/m-p/83383#M3085</guid>
      <dc:creator>Vince28_Statcan</dc:creator>
      <dc:date>2013-07-18T12:59:40Z</dc:date>
    </item>
  </channel>
</rss>

