Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 117
Default plotting line graph with 2 x values

I am trying to plot a line graph. For my X data I am using days such as 20,
35, 52 etc. Those days also have a name such as july, august, september. On
my graph I want to plot the actual numbers but have my label points show the
months name. Is this possible?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default plotting line graph with 2 x values

Yes, you need to add a dummy series however. For now, make it 12 points,
each with a value of 1. HAve these correspond to your months (Jan, Feb,
March, etc). Add this series to your chart.

Now, format your original series, under axis, move to secondary axis. 'ok'.
Right-click on chart, under chart options, activate the secondary x-axis.
'hit okYou may need to fiddle with it a bit at this point, but at this point,
under source data, set it up so that the dummy series (which is currently
primary series) is using the month labels as its x-axis labels, and your true
data (now secondary series) is using the numbers.

If things are working so far, you should see the numbers on top of chart,
and labels on bottom. Format the top-axis so that tick marks/labels are not
visible. Format the dummy series so that both line/markers are not visible.
If you have a legend, click on legend, then single click on label for your
dummy series, and hit 'delete'. You should now have what appears to be a
chart with just a single series, plotted against month labels.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Jase" wrote:

I am trying to plot a line graph. For my X data I am using days such as 20,
35, 52 etc. Those days also have a name such as july, august, september. On
my graph I want to plot the actual numbers but have my label points show the
months name. Is this possible?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 117
Default plotting line graph with 2 x values

This was very helpful, thank you. However sometimes I use logarithmic
scaling, am I still able to do this?

thanks,

jase

"Luke M" wrote:

Yes, you need to add a dummy series however. For now, make it 12 points,
each with a value of 1. HAve these correspond to your months (Jan, Feb,
March, etc). Add this series to your chart.

Now, format your original series, under axis, move to secondary axis. 'ok'.
Right-click on chart, under chart options, activate the secondary x-axis.
'hit okYou may need to fiddle with it a bit at this point, but at this point,
under source data, set it up so that the dummy series (which is currently
primary series) is using the month labels as its x-axis labels, and your true
data (now secondary series) is using the numbers.

If things are working so far, you should see the numbers on top of chart,
and labels on bottom. Format the top-axis so that tick marks/labels are not
visible. Format the dummy series so that both line/markers are not visible.
If you have a legend, click on legend, then single click on label for your
dummy series, and hit 'delete'. You should now have what appears to be a
chart with just a single series, plotted against month labels.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Jase" wrote:

I am trying to plot a line graph. For my X data I am using days such as 20,
35, 52 etc. Those days also have a name such as july, august, september. On
my graph I want to plot the actual numbers but have my label points show the
months name. Is this possible?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 117
Default plotting line graph with 2 x values

Also all my points are evenly spaced after I do this where as before i have
some dates that are 20 days apart and some that are 150 days apart so its
giving me a false visual.

thanks,

Jase

"Luke M" wrote:

Yes, you need to add a dummy series however. For now, make it 12 points,
each with a value of 1. HAve these correspond to your months (Jan, Feb,
March, etc). Add this series to your chart.

Now, format your original series, under axis, move to secondary axis. 'ok'.
Right-click on chart, under chart options, activate the secondary x-axis.
'hit okYou may need to fiddle with it a bit at this point, but at this point,
under source data, set it up so that the dummy series (which is currently
primary series) is using the month labels as its x-axis labels, and your true
data (now secondary series) is using the numbers.

If things are working so far, you should see the numbers on top of chart,
and labels on bottom. Format the top-axis so that tick marks/labels are not
visible. Format the dummy series so that both line/markers are not visible.
If you have a legend, click on legend, then single click on label for your
dummy series, and hit 'delete'. You should now have what appears to be a
chart with just a single series, plotted against month labels.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Jase" wrote:

I am trying to plot a line graph. For my X data I am using days such as 20,
35, 52 etc. Those days also have a name such as july, august, september. On
my graph I want to plot the actual numbers but have my label points show the
months name. Is this possible?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 117
Default plotting line graph with 2 x values

I figured it out, you can just click on each individual data label and
refernce the cell you want from there.

"Luke M" wrote:

Yes, you need to add a dummy series however. For now, make it 12 points,
each with a value of 1. HAve these correspond to your months (Jan, Feb,
March, etc). Add this series to your chart.

Now, format your original series, under axis, move to secondary axis. 'ok'.
Right-click on chart, under chart options, activate the secondary x-axis.
'hit okYou may need to fiddle with it a bit at this point, but at this point,
under source data, set it up so that the dummy series (which is currently
primary series) is using the month labels as its x-axis labels, and your true
data (now secondary series) is using the numbers.

If things are working so far, you should see the numbers on top of chart,
and labels on bottom. Format the top-axis so that tick marks/labels are not
visible. Format the dummy series so that both line/markers are not visible.
If you have a legend, click on legend, then single click on label for your
dummy series, and hit 'delete'. You should now have what appears to be a
chart with just a single series, plotted against month labels.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Jase" wrote:

I am trying to plot a line graph. For my X data I am using days such as 20,
35, 52 etc. Those days also have a name such as july, august, september. On
my graph I want to plot the actual numbers but have my label points show the
months name. Is this possible?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to ignore zero values when plotting a graph Phil Lavis Charts and Charting in Excel 4 May 14th 23 07:43 PM
Plotting Cummulative Data In A Line Graph tkeith Charts and Charting in Excel 2 August 11th 06 01:36 AM
Having trouble plotting blanks on a line graph duncanm Charts and Charting in Excel 1 September 14th 05 03:28 PM
Plotting Line Graph of Dynamic Data sslack Charts and Charting in Excel 1 June 6th 05 03:29 AM
plotting a single line graph plotting graphg New Users to Excel 0 February 26th 05 10:21 PM


All times are GMT +1. The time now is 11:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"