Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 23
Default adding marker points

Hi I am trying to make a chart of patients lab vaules...basically for each
patient I have there date and corresponding lab value making this line graph
is easy....what I want to do is a vertical line at a particular date that
corresponds to a treatment date...this date more than likely has no lab value
that corresponds to it.... I think I could do individually by just drawing a
marker in on the existing line graph ...but with multiple people and multiple
treatment dates for each patient this could become lengthy ...is there some
trick I am missing?
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 560
Default adding marker points

On Fri, 11 Jul 2008, in microsoft.public.excel.charting,
Kara said:
I am trying to make a chart of patients lab vaules...basically for each
patient I have there date and corresponding lab value making this line graph
is easy....what I want to do is a vertical line at a particular date that
corresponds to a treatment date...


Create your chart as a Line chart type, then make sure the X axis is a
Time-scale axis (ask for instructions if you don't know how to do this,
making sure to say which version of Excel you use)

Now create a block of data separate from your lab data, like this:

Vertical line
[Date] 0
[Date] [maximum on chart]

The two dates are the same, the date that you want to put the line
running from zero to the top of the chart. Now copy this block and Paste
Special into the line chart, where it should appear as a new line series
in the wrong place. Select the series and change its Chart Type to XY
(Scatter), which should cause it to appear in the correct place on the
line chart, as a vertical line.

Alternatively, simply create it in with your lab data, with dates in the
same column but the y value in a column separate from the lab values,
like this:

Lab Treatment
13/07/2008 0.887
14/07/2008 0.533
15/07/2008 0.694
16/07/2008 0.921
17/07/2008 0.256
18/07/2008 0.921
19/07/2008 0.866

Then when you've made your line chart, give the "Treatment" series a Y
error bar of 100% Minus, which will create a line that drops down to the
bottom of the chart.

--
Del Cotter
NB Personal replies to this post will send email to ,
which goes to a spam folder-- please send your email to del3 instead.
  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default adding marker points

Add lines to a chart:
http://peltiertech.com/Excel/Charts/AddLine.html

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


"Kara" wrote in message
...
Hi I am trying to make a chart of patients lab vaules...basically for each
patient I have there date and corresponding lab value making this line
graph
is easy....what I want to do is a vertical line at a particular date that
corresponds to a treatment date...this date more than likely has no lab
value
that corresponds to it.... I think I could do individually by just drawing
a
marker in on the existing line graph ...but with multiple people and
multiple
treatment dates for each patient this could become lengthy ...is there
some
trick I am missing?



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
Adding individual points to a line graph Stewart1234 Charts and Charting in Excel 3 April 2nd 23 08:09 PM
Excel 2007 - Adding Labels to Scattergraph Points RFJ Charts and Charting in Excel 2 April 25th 07 04:46 PM
Adding comments to points in a chart? Fish Charts and Charting in Excel 1 March 14th 06 08:33 PM
adding extra marker styles Grizzabella Charts and Charting in Excel 4 September 15th 05 04:31 AM
Removing/adding decimal points Lou Excel Discussion (Misc queries) 2 March 2nd 05 08:56 PM


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