#1   Report Post  
Posted to microsoft.public.excel.charting
Joe Gabba
 
Posts: n/a
Default Line x=0

Hello,

How do I create a line through x=0 in a XY Scatterplot chart? I can plot
(x, y) and y=0 but not x=0. I am graphing linear inequalities and
identifying the feasible region for a mathmatics class.

Thanks for the help
  #2   Report Post  
Posted to microsoft.public.excel.charting
Andy Pope
 
Posts: n/a
Default Line x=0

Hi,

Sure that's not a Line graph (category X axis) instead of a XY scatter
(Value X axis)?

Cheers
Andy

Joe Gabba wrote:
Hello,

How do I create a line through x=0 in a XY Scatterplot chart? I can plot
(x, y) and y=0 but not x=0. I am graphing linear inequalities and
identifying the feasible region for a mathmatics class.

Thanks for the help


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
  #3   Report Post  
Posted to microsoft.public.excel.charting
Joe Gabba
 
Posts: n/a
Default Line x=0

No, I used the XY scatter with data points connected by smoothed lines. I
did try with a line graph, but still can't figure out how to get a verticle
line representing x=0. My data points are below. y3 is y=0.

x y1 y2 y3
-10 9.5 29 0
10 -0.5 -11 0



"Andy Pope" wrote:

Hi,

Sure that's not a Line graph (category X axis) instead of a XY scatter
(Value X axis)?

Cheers
Andy

Joe Gabba wrote:
Hello,

How do I create a line through x=0 in a XY Scatterplot chart? I can plot
(x, y) and y=0 but not x=0. I am graphing linear inequalities and
identifying the feasible region for a mathmatics class.

Thanks for the help


--

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

  #4   Report Post  
Posted to microsoft.public.excel.charting
Mike Middleton
 
Posts: n/a
Default Line x=0

Joe -

With the data arranged the way you have it on the worksheet, Excel
unfortunately assumes (when there are only two points) the data series are
in rows. But yours are in columns.

So, with some object of the chart selected, from the main menu choose Chart
| Source Data. On the Data Range tab, select Series in: Columns.

If that choice doesn't fix everything, use the Series tab to rearrange
existing X and Y values for a series, or add the other series.

Separate topic: I don't understand why you are using "smoothed lines." For
your example, with only two points, only a straight line is possible.

- Mike
www.mikemiddleton.com


"Joe Gabba" wrote in message
...
No, I used the XY scatter with data points connected by smoothed lines. I
did try with a line graph, but still can't figure out how to get a
verticle
line representing x=0. My data points are below. y3 is y=0.

x y1 y2 y3
-10 9.5 29 0
10 -0.5 -11 0



"Andy Pope" wrote:

Hi,

Sure that's not a Line graph (category X axis) instead of a XY scatter
(Value X axis)?

Cheers
Andy

Joe Gabba wrote:
Hello,

How do I create a line through x=0 in a XY Scatterplot chart? I can
plot
(x, y) and y=0 but not x=0. I am graphing linear inequalities and
identifying the feasible region for a mathmatics class.

Thanks for the help


--

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



  #5   Report Post  
Posted to microsoft.public.excel.charting
Andy Pope
 
Posts: n/a
Default Line x=0

Confused.
A line with the coord pair of (-10,0)(10,0) will give you a horizontal line.
If you want a vertical line you will need a data set more like (0,-10)(0,10)

If you meant horizontal then as Mike pointed out your layout of data and
heading is being misread by the chart wizard.
Assuming data in range A1:D3 just select the values, B1:D3 and plot the
data in Columns. You will then get 3 lines of 2 points with the y3
series running along the X axis.

Cheers
Andy

Joe Gabba wrote:
No, I used the XY scatter with data points connected by smoothed lines. I
did try with a line graph, but still can't figure out how to get a verticle
line representing x=0. My data points are below. y3 is y=0.

x y1 y2 y3
-10 9.5 29 0
10 -0.5 -11 0



"Andy Pope" wrote:


Hi,

Sure that's not a Line graph (category X axis) instead of a XY scatter
(Value X axis)?

Cheers
Andy

Joe Gabba wrote:

Hello,

How do I create a line through x=0 in a XY Scatterplot chart? I can plot
(x, y) and y=0 but not x=0. I am graphing linear inequalities and
identifying the feasible region for a mathmatics class.

Thanks for the help


--

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


--

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
strange horizontal line showing accross several columns Thrava Excel Discussion (Misc queries) 4 June 29th 05 03:33 AM
Label an average line in a dynamic chart John Cordes Charts and Charting in Excel 3 June 17th 05 09:42 AM
coloring overy other line without doing so line by line gen Excel Worksheet Functions 5 April 1st 05 10:38 PM
Line and Column Graph Nikki Charts and Charting in Excel 3 February 4th 05 04:42 AM
Line chart - date line association gone mad! Johannes Czernin Charts and Charting in Excel 5 January 17th 05 08:48 PM


All times are GMT +1. The time now is 03:31 PM.

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

About Us

"It's about Microsoft Excel"