PC Review Forums Newsgroups Microsoft Excel Microsoft Excel Charting adding marker points

Reply

adding marker points

 
Thread Tools Rate Thread
Old 11-07-2008, 08:22 PM   #1
Kara
Guest
 
Posts: n/a
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?
  Reply With Quote
Old 11-07-2008, 10:20 PM   #2
Del Cotter
Guest
 
Posts: n/a
Default Re: adding marker points

On Fri, 11 Jul 2008, in microsoft.public.excel.charting,
Kara <Kara@discussions.microsoft.com> 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 del@branta.demon.co.uk,
which goes to a spam folder-- please send your email to del3 instead.
  Reply With Quote
Old 12-07-2008, 04:17 PM   #3
Jon Peltier
Guest
 
Posts: n/a
Default Re: 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" <Kara@discussions.microsoft.com> wrote in message
news:164CDF9B-D61E-4A67-82F8-D91CC557E24B@microsoft.com...
> 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 With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off