View Single Post
  #7   Report Post  
NTE
 
Posts: n/a
Default

John,
thank you for taking the time to put together that example. I followed your
directions. However, unless misunderstood something you said, the graph I
got was still not what I was looking for. The y-axis values are not evenly
spaced. I need those y axis tics to be evenly spaced (as if there was an
equal distance between them, even though there is not) and the points
themselves should "move" to the appropriate place. Someone I worked with has
mentioned that I need to investigate a transformation for the y-axis.....I'm
pretty sure excel can't do what we need. I have gotten SAS to almost do it.
I appreciate your time.
NTE

"John Mansfield" wrote:

NTE,

Try setting your data up like this . . .

X Y X Y
0.00000 0.00000 2.5 0.1
0.00000 0.00000 2.5 1.0
2.56937 4.07762 2.5 1.0
2.58546 8.18078 2.5 5.0
2.58995 12.29105 2.5 5.0
2.65706 16.50783 2.5 5.0
2.74115 20.85806 2.5 20.0
2.85431 25.38787 2.5 20.0
2.86213 29.93011 2.5 20.0
2.93551 34.58879 2.5 20.0
3.19201 39.65454 2.5 20.0
3.25018 44.81260 2.5 20.0
3.26694 49.99726 2.5 20.0
3.26834 55.18416 2.5 50.0
3.33945 60.48390 2.5 50.0
3.35468 65.80782 2.5 50.0
3.45423 71.28973 2.5 50.0
3.46523 76.78909 2.5 50.0
3.53275 82.39561 2.5 80.0
3.57276 88.06561 2.5 80.0
3.58263 93.75128 2.5 80.0
0.00000 0.000000 2.5 95.0
0.00000 0.000000 2.5 99.9
3.93742 100.0000 2.5 99.0

The second set of X and Y values act as a dummy Y axis. All X values are at
2.5 because that's where we want the Y-Axis to be located. All of the Y
values act as a range in which your original Y values would fall. Add zeros
where there are values within the desired Y axis where no "real" Y axis
values fall.

To build the chart, perform the following steps . . .

(1) Create an X-Y Scatter Chart based on the first X-Y set with "Series in"
set to columns.
(2) Double-click on the X-Axis and set the minimum X-Axis scale to 2.5.
(3) Go to "Source Data" and add a second series called "Dummy Y" based on
the second X-Y set.
(4) You should see points for the new "Dummy Y" series running up the
Y-Axis at X = 2.5.
(5) Double-Click on the true Y-Axis labels and under the Patterns option,
set all tick marks to "None".
(6) Go to Chart - Chart Options and uncheck all Gridlines (turn them off).
(7) Double-click on any of the Dummy Y-Axis points.
(8) Turn the Data labels for the Y-value on.
(9) Go to the X-Error Bars tab, select Plus, error amount option = fixed,
value = 2.6.
(10) Double-click on the X-Axis and set the maximum X-Axis scale to
approximately 4.1.
(11) Double-click on any of the Dummy Y-Axis points and set the markers to
"None".
(12) Activate the legend and delete the "Dummy Y" entry (click on it once
and hit the delete key).
(13) Align Dummy Y-Axis labels to the left side of the chart.
(14) May need to adjust the upper scale of the chart if needed.
(15) Perform any other formatting changes desired.

----
Regards,
John Mansfield
http://www.pdbook.com

"NTE" wrote:

I'm using Excel 2002.

I have data that looks like this:
X Y
2.56937391 4.077622647
2.58546073 8.180775241
2.589949601 12.29105172
2.657055853 16.50782651
2.741151599 20.8580621
2.854306042 25.38787495
2.862131379 29.9301067
2.935507266 34.58878672
3.192009593 39.65453856
3.250175948 44.812601
3.266936911 49.99726325
3.268343914 55.18415844
3.339451441 60.483902
3.354684554 65.80782066
3.454234896 71.28972673
3.465234095 76.78908865
3.532754379 82.39560594
3.572755465 88.06560537
3.582631439 93.75127807
3.937417581 100

I need to produce a scatter plot in excel. Simple to do in general.
However, the requestor has asked me to have the major y-axis values be these
(evenly spaced on the y axis):

0.1
1
5
20
50
80
95
99
99.9

I was able, using information found at http://PeltierTech.com/ (thank you
Jon) to make a dummy series that would portray the axis as I needed it.
However, the data is still plotted on the "real" axis and obviously does not
line up with the "fake" y-axis values. Because there is a different amount
of "space" between the major ticks, the distance between points will need to
vary.

Any suggestions appreciated. I am going to try a SAS solution as well, but
the end-users prefer to be able to do it in excel.