#1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 7
Default Y Axis

I have two questions regarding the 'y' axis - in a normal line graph
Firstly, how do i get the 'y' axis to appear in the middle of the graph IE
to cross the 'x' axis at (0,0) instead of currently (in my graph) (-10,0)
Secondly how do i plot the line "X =2" which should just be a vertical line
on the graph?

I'm using Microsoft Excel 2007 any help would be appreciated. Thanks
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,489
Default Y Axis

Hi,

Not able to test in xl2007 but from memory it should be the same as xl2003.

For a line chart, select the x axis and open the format dialog. On the
scale tab set Value (Y) axis crosses at category number. You whichever
category zero is.
Also uncheck Value(Y) axis crosses between categories.

But I think you really want to change the Line chart to a xy-scatter
chart. The default is to have the Y axis at zero.

Have a look at these sites for examples for plotting formula
http://www.oaltd.co.uk/Excel/SBXLPage.asp#Charting ChtFrmla.zip
http://tushar-mehta.com/excel/softwa...elp/index.html

Cheers
Andy

Gupta A. wrote:
I have two questions regarding the 'y' axis - in a normal line graph
Firstly, how do i get the 'y' axis to appear in the middle of the graph IE
to cross the 'x' axis at (0,0) instead of currently (in my graph) (-10,0)
Secondly how do i plot the line "X =2" which should just be a vertical line
on the graph?

I'm using Microsoft Excel 2007 any help would be appreciated. Thanks


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Y Axis

Plotting X=2 is an easier task than either of these links would have you
believe. Use the following data to add an XY series to the chart:

X Y
2 [Ymin]
2 [Ymax]

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"Andy Pope" wrote in message
...
Hi,

Not able to test in xl2007 but from memory it should be the same as
xl2003.

For a line chart, select the x axis and open the format dialog. On the
scale tab set Value (Y) axis crosses at category number. You whichever
category zero is.
Also uncheck Value(Y) axis crosses between categories.

But I think you really want to change the Line chart to a xy-scatter
chart. The default is to have the Y axis at zero.

Have a look at these sites for examples for plotting formula
http://www.oaltd.co.uk/Excel/SBXLPage.asp#Charting ChtFrmla.zip
http://tushar-mehta.com/excel/softwa...elp/index.html

Cheers
Andy

Gupta A. wrote:
I have two questions regarding the 'y' axis - in a normal line graph
Firstly, how do i get the 'y' axis to appear in the middle of the graph
IE to cross the 'x' axis at (0,0) instead of currently (in my graph)
(-10,0)
Secondly how do i plot the line "X =2" which should just be a vertical
line on the graph?

I'm using Microsoft Excel 2007 any help would be appreciated. Thanks


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info



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 make Primary axis and Secondary X-axis have the same scale AdamCPTD Excel Discussion (Misc queries) 0 July 14th 06 02:14 PM
shift Y axis Terry Charts and Charting in Excel 7 June 25th 06 06:18 PM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
how to add a second x axis with same Y axis value in one plot Mike Charts and Charting in Excel 1 October 19th 05 08:42 AM
Secondary Axis Match Primary Axis Gridlines [email protected] Charts and Charting in Excel 1 July 31st 05 09:23 PM


All times are GMT +1. The time now is 12:44 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"