<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Plot Two Time Series With Different Dates</title>
	<atom:link href="http://peltiertech.com/WordPress/plot-two-time-series-with-different-dates/feed/" rel="self" type="application/rss+xml" />
	<link>http://peltiertech.com/WordPress/plot-two-time-series-with-different-dates/</link>
	<description>Peltier Tech Excel Charts and Programming Blog</description>
	<lastBuildDate>Mon, 15 Mar 2010 17:19:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Jenn</title>
		<link>http://peltiertech.com/WordPress/plot-two-time-series-with-different-dates/comment-page-1/#comment-24421</link>
		<dc:creator>Jenn</dc:creator>
		<pubDate>Thu, 24 Dec 2009 01:00:13 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1434#comment-24421</guid>
		<description>Thanks! This has been very helpful. I sure wish I had known about this blog years ago.</description>
		<content:encoded><![CDATA[<p>Thanks! This has been very helpful. I sure wish I had known about this blog years ago.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sami</title>
		<link>http://peltiertech.com/WordPress/plot-two-time-series-with-different-dates/comment-page-1/#comment-23996</link>
		<dc:creator>Sami</dc:creator>
		<pubDate>Tue, 15 Dec 2009 15:21:53 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1434#comment-23996</guid>
		<description>Jon,
thank you for the quick reply. 
Have tried contents of heading &quot;But there&#039;s an easier way&quot;, but that does not work. (Maybe I am doing something awfully wrong).

Introducing the secondary axis makes the placement of the lines wrong on the primary axis when you are fixing the start point (in my case first of a month).

I can only get around by matching the range of the secondary horizontal axis with the primary horizontal. Have not been able to find a different way.

cheers,
Sami</description>
		<content:encoded><![CDATA[<p>Jon,<br />
thank you for the quick reply.<br />
Have tried contents of heading &#8220;But there&#8217;s an easier way&#8221;, but that does not work. (Maybe I am doing something awfully wrong).</p>
<p>Introducing the secondary axis makes the placement of the lines wrong on the primary axis when you are fixing the start point (in my case first of a month).</p>
<p>I can only get around by matching the range of the secondary horizontal axis with the primary horizontal. Have not been able to find a different way.</p>
<p>cheers,<br />
Sami</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/plot-two-time-series-with-different-dates/comment-page-1/#comment-23994</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Tue, 15 Dec 2009 15:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1434#comment-23994</guid>
		<description>Sami -

Scroll down to the heading &quot;But there’s an easier way.&quot; This technique only needs one X axis, and only requires a slight realignment of your data.</description>
		<content:encoded><![CDATA[<p>Sami -</p>
<p>Scroll down to the heading &#8220;But there’s an easier way.&#8221; This technique only needs one X axis, and only requires a slight realignment of your data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sami</title>
		<link>http://peltiertech.com/WordPress/plot-two-time-series-with-different-dates/comment-page-1/#comment-23993</link>
		<dc:creator>Sami</dc:creator>
		<pubDate>Tue, 15 Dec 2009 14:42:44 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1434#comment-23993</guid>
		<description>Jon,
very nice comments and solutions you have here. Perhaps you can help me.

I am strugling with excel 2007 to plot lines with date axis. It looks like excel 2007 is acting unlogical.
I&#039;ll decribe the problem using a simple example. Let&#039;s make two lines: series1 (column B) and series2 (column C). Have a common date axis on column A. Have the dates running from for example 8-nov-2009 till 22-dec-2009. First plot series1 as a line (with markers). Date axis will be from 8-nov-2009 till 22-dec-2009. After that add series2. 
So far so good. Since I like to start the date axis at the first of month I am fixing start x-axis at 1-nov-2009. This is also still fine. The first point of line is positioned above x-axis location 8-nov. But now comes the annoyance.
If I want for series2 to correspond to a secondary axis excel messes up the x-axis placing the lines with respect to the x-axis.
Just realized that somehow excel 2007 makes the secondary x-axis prevailing and I must manually configure secondary x-axis to have the lines displayed correctly. This means that I when secondy axis switched on I am switching on as well secondary x-axis even if I am not displaying.??
Is there a way to link secondary x-axis to primary x-axis (automatically matching ranges)? Is there a more efficient (other) way to plot the chart that I just described?

many thanks for your help,
Sami

ps: By the way I tried as well with combination plot (changing series2 to xy-plot) but di&#039;n&#039;t manage.</description>
		<content:encoded><![CDATA[<p>Jon,<br />
very nice comments and solutions you have here. Perhaps you can help me.</p>
<p>I am strugling with excel 2007 to plot lines with date axis. It looks like excel 2007 is acting unlogical.<br />
I&#8217;ll decribe the problem using a simple example. Let&#8217;s make two lines: series1 (column B) and series2 (column C). Have a common date axis on column A. Have the dates running from for example 8-nov-2009 till 22-dec-2009. First plot series1 as a line (with markers). Date axis will be from 8-nov-2009 till 22-dec-2009. After that add series2.<br />
So far so good. Since I like to start the date axis at the first of month I am fixing start x-axis at 1-nov-2009. This is also still fine. The first point of line is positioned above x-axis location 8-nov. But now comes the annoyance.<br />
If I want for series2 to correspond to a secondary axis excel messes up the x-axis placing the lines with respect to the x-axis.<br />
Just realized that somehow excel 2007 makes the secondary x-axis prevailing and I must manually configure secondary x-axis to have the lines displayed correctly. This means that I when secondy axis switched on I am switching on as well secondary x-axis even if I am not displaying.??<br />
Is there a way to link secondary x-axis to primary x-axis (automatically matching ranges)? Is there a more efficient (other) way to plot the chart that I just described?</p>
<p>many thanks for your help,<br />
Sami</p>
<p>ps: By the way I tried as well with combination plot (changing series2 to xy-plot) but di&#8217;n't manage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/plot-two-time-series-with-different-dates/comment-page-1/#comment-22629</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Mon, 23 Nov 2009 19:53:31 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1434#comment-22629</guid>
		<description>Bruce -

You didn&#039;t mention a version of Excel, but Excel 2003 automagically applies the primary category labels to the secondary axis. (If it doesn&#039;t for some reason, go to Chart menu &gt; Source Data &gt; Series tab, copy the address from &lt;i&gt;Category (X) Axis Labels&lt;/i&gt;&lt;i&gt; to Secondary Category (X) Axis Labels)&lt;/i&gt;.

In my little test Excel 2007 also applied the primary labels to the secondary axis. But the protocol to fix your issue is to right click on the chart and choose Select Data. Select a primary axis series, and click on the Edit button under &lt;i&gt;Horizontal (Category) Axis Labels&lt;/i&gt;, copy the axis label range address, then select a secondary axis series, click again on the Edit button under &lt;i&gt;Horizontal (Category) Axis Labels&lt;/i&gt;, click in the box, and paste the address.</description>
		<content:encoded><![CDATA[<p>Bruce -</p>
<p>You didn&#8217;t mention a version of Excel, but Excel 2003 automagically applies the primary category labels to the secondary axis. (If it doesn&#8217;t for some reason, go to Chart menu &gt; Source Data &gt; Series tab, copy the address from <i>Category (X) Axis Labels</i><i> to Secondary Category (X) Axis Labels)</i>.</p>
<p>In my little test Excel 2007 also applied the primary labels to the secondary axis. But the protocol to fix your issue is to right click on the chart and choose Select Data. Select a primary axis series, and click on the Edit button under <i>Horizontal (Category) Axis Labels</i>, copy the axis label range address, then select a secondary axis series, click again on the Edit button under <i>Horizontal (Category) Axis Labels</i>, click in the box, and paste the address.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BD</title>
		<link>http://peltiertech.com/WordPress/plot-two-time-series-with-different-dates/comment-page-1/#comment-22628</link>
		<dc:creator>BD</dc:creator>
		<pubDate>Mon, 23 Nov 2009 19:34:12 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1434#comment-22628</guid>
		<description>Thanks for covering this issue on Two Time Series with Different Dates. I learned from it. One other question. I made a plot with 3 time series. I used one column for the X values (dates) and used a secondary axis for two of the series because the Y-values are different magnitude parameters. The single column for the dates was possible because eventhough each series had different dates, they all fell in the same months, so I was willing to sacrifice specific dates of the two secondary axis series and use the date from the primary axis data series (made the assumption that the secondary axis dates were close enough to the pirmary axis series). 

I have a decent looking plot, but the seondary axies series sets show a point no. instead of a date when I select a point on the graph. The primary axis series shows both the value and the date. Any suggestions to make the dates also show on the two secondary axis series points?</description>
		<content:encoded><![CDATA[<p>Thanks for covering this issue on Two Time Series with Different Dates. I learned from it. One other question. I made a plot with 3 time series. I used one column for the X values (dates) and used a secondary axis for two of the series because the Y-values are different magnitude parameters. The single column for the dates was possible because eventhough each series had different dates, they all fell in the same months, so I was willing to sacrifice specific dates of the two secondary axis series and use the date from the primary axis data series (made the assumption that the secondary axis dates were close enough to the pirmary axis series). </p>
<p>I have a decent looking plot, but the seondary axies series sets show a point no. instead of a date when I select a point on the graph. The primary axis series shows both the value and the date. Any suggestions to make the dates also show on the two secondary axis series points?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/plot-two-time-series-with-different-dates/comment-page-1/#comment-13744</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Thu, 07 May 2009 14:06:45 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1434#comment-13744</guid>
		<description>Christopher -

Clean up the data: use only one row for the column headers. Include units in the same cell, or better, leave them off.

Select the &quot;Coulomb&quot; column, then hold CTRL while you select the &quot;pH&quot; and &quot;Phosphate&quot; columns. Create an XY chart. Excel should use the first column as X values and the other two as Y values. Right click the Phosphate series, choose Format, and on the main tab (2007) or on the Axis tab, choose Secondary.</description>
		<content:encoded><![CDATA[<p>Christopher -</p>
<p>Clean up the data: use only one row for the column headers. Include units in the same cell, or better, leave them off.</p>
<p>Select the &#8220;Coulomb&#8221; column, then hold CTRL while you select the &#8220;pH&#8221; and &#8220;Phosphate&#8221; columns. Create an XY chart. Excel should use the first column as X values and the other two as Y values. Right click the Phosphate series, choose Format, and on the main tab (2007) or on the Axis tab, choose Secondary.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: christopher</title>
		<link>http://peltiertech.com/WordPress/plot-two-time-series-with-different-dates/comment-page-1/#comment-13743</link>
		<dc:creator>christopher</dc:creator>
		<pubDate>Thu, 07 May 2009 13:22:20 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1434#comment-13743</guid>
		<description>Hey John,

Kindly assist me in plotting a XY Graph with Coulombs on X-axis,on the  Y-axis I need Phosphate as primary (on the left hand  side) and pH secondary (on the right hand side).I use Office 2007 and sometimes Ofiice 2003 and I did manage to plot the graph of Phosphates Vs Coulombs but I am struggling to add pH on the right hand side of the same graph.Please find the sample of the data that I am trying to plot the graphs for.

Thanks in advance, 
Christopher


Time(s)	Current(A)Coulomb	Voltage(V)  pH(mV)	Phosphate
		(A.s/L)			                      (mg/L P)
0	1.12	0	       0.5	     3.2	            0.8
1200	1.12	1344	         0.6	     2.95	              0.72
2400	1.12	2757	          0.7	      2.88	              0.68
3600	1.12	4244	          0.8	      2.78	               0.65
4800	1.12	5812	         0.9	       2.72	                0.56</description>
		<content:encoded><![CDATA[<p>Hey John,</p>
<p>Kindly assist me in plotting a XY Graph with Coulombs on X-axis,on the  Y-axis I need Phosphate as primary (on the left hand  side) and pH secondary (on the right hand side).I use Office 2007 and sometimes Ofiice 2003 and I did manage to plot the graph of Phosphates Vs Coulombs but I am struggling to add pH on the right hand side of the same graph.Please find the sample of the data that I am trying to plot the graphs for.</p>
<p>Thanks in advance,<br />
Christopher</p>
<p>Time(s)	Current(A)Coulomb	Voltage(V)  pH(mV)	Phosphate<br />
		(A.s/L)			                      (mg/L P)<br />
0	1.12	0	       0.5	     3.2	            0.8<br />
1200	1.12	1344	         0.6	     2.95	              0.72<br />
2400	1.12	2757	          0.7	      2.88	              0.68<br />
3600	1.12	4244	          0.8	      2.78	               0.65<br />
4800	1.12	5812	         0.9	       2.72	                0.56</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ggplot2: Two Time Series With Different Dates &#171; Learning R</title>
		<link>http://peltiertech.com/WordPress/plot-two-time-series-with-different-dates/comment-page-1/#comment-13669</link>
		<dc:creator>ggplot2: Two Time Series With Different Dates &#171; Learning R</dc:creator>
		<pubDate>Tue, 05 May 2009 14:39:33 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1434#comment-13669</guid>
		<description>[...] Different&#160;Dates 2009 May 5   tags: business, chart, excel, ggplot2, plot, R by learnr   In his blogpost Jon Peltier shows how to &#8220;make a line chart which has two time series, in which each time [...]</description>
		<content:encoded><![CDATA[<p>[...] Different&nbsp;Dates 2009 May 5   tags: business, chart, excel, ggplot2, plot, R by learnr   In his blogpost Jon Peltier shows how to &#8220;make a line chart which has two time series, in which each time [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/plot-two-time-series-with-different-dates/comment-page-1/#comment-13583</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Fri, 01 May 2009 19:30:14 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1434#comment-13583</guid>
		<description>Bill -

Have you ensured that you have a Date (Time-Scale) Axis? In the base unit defined as Days?

Are your dates numerical or text? It only takes one text value to mess up the whole list.</description>
		<content:encoded><![CDATA[<p>Bill -</p>
<p>Have you ensured that you have a Date (Time-Scale) Axis? In the base unit defined as Days?</p>
<p>Are your dates numerical or text? It only takes one text value to mess up the whole list.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
