Hi!
I have a rather complex chart that I need to create... hopefully
someone here can help me with this issue...
The problem is the following:
I have offers from vendors for two types of cables that I want to
compare to each other in a chart. One vendor offers the cable in
certain lenghts measured in feet and one vendor offers in (different)
lenghts measured in meters. What I want is plot the price/feet on the
Y-axis and have both a feet scale and a metric scale on the X-axis and
the scales are to be linear i.e. fixed intervals at say 0, 500, 1000,
1500... ft and the metric at 0, 500, 1000... meter etc.
There is not a lot of data, basically just this:
Vendor quot;Aquot;:
5000 ft, 8 USD/ft
25000 ft, 7 USD/ft
50000 ft, 6 USD/ft
etc.
Vendor quot;Bquot;:
300 m, 10 USD/ft
5000 m, 7 USD/ft
25000 m, 6 USD/ft
etc...
Plotting this with a line chart with data points marked is not a
problem but I can only get one unit on the X-axis where I would like to
have 2 scales with different units (ft and meters).
Even better would be to be able to have a third scale on the X-axis
that displays the number of units a certain lenght of cable is good for
(one unit = 110 ft of cable) so one can look at the chart and read that
quot;xxx meters/feet of cable from vendor A/B equals xxx number of finished
units and costs xxx USD/ft).
Whew... maybe too much details but PLEASE tell me this is possible to
do!
Any input into how to make such a chart is extremely welcome!
/Johan--
JohanD
------------------------------------------------------------------------
JohanD's Profile: www.excelforum.com/member.php...oamp;userid=32573
View this thread: www.excelforum.com/showthread...hreadid=523733Johan -
Here's how to arrange the data, in four columns:
Vendor A Vendor B
5000 8 300 10
25000 7 5000 7
50000 6 25000 6
Make an XY chart (not a line chart) with the vendor A data (including the
first row with the blank and 'Vdr A' label). Copy the vendor B data (incl.
the first row with the blank and the 'Vdr B' label), select the chart, and
use Paste Special from the Edit manu to add the data as a new series. Double
click on the Vendor B series, and on the Axis tab, select Secondary. Go to
Chart Options on the Chart menu, and on the Axis tab, uncheck the secondary
Y axis but check the secondary X axis. Double click the bottom X axis, and
on the Scale tab choose appropriate values for the maximum and major units,
and make sure the Auto boxes in front of the input boxes are unchecked.
Double click on the top X axis, and on the Scale tab, enter an appropriate
value for the maximum scale, and for the maximum, enter the maximum of the
bottom scale times 0.3048, the conversion factor from feet to meters; again,
make sure the Auto boxes are unchecked.
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services - Tutorials and Custom Solutions -
PeltierTech.com/
2006 Excel User Conference, 19-21 April, Atlantic City, NJ
peltiertech.com/Excel/ExcelUserConf06.html
_______
quot;JohanDquot; gt; wrote in
message ...
gt;
gt; Hi!
gt;
gt; I have a rather complex chart that I need to create... hopefully
gt; someone here can help me with this issue...
gt; The problem is the following:
gt;
gt; I have offers from vendors for two types of cables that I want to
gt; compare to each other in a chart. One vendor offers the cable in
gt; certain lenghts measured in feet and one vendor offers in (different)
gt; lenghts measured in meters. What I want is plot the price/feet on the
gt; Y-axis and have both a feet scale and a metric scale on the X-axis and
gt; the scales are to be linear i.e. fixed intervals at say 0, 500, 1000,
gt; 1500... ft and the metric at 0, 500, 1000... meter etc.
gt; There is not a lot of data, basically just this:
gt;
gt; Vendor quot;Aquot;:
gt; 5000 ft, 8 USD/ft
gt; 25000 ft, 7 USD/ft
gt; 50000 ft, 6 USD/ft
gt; etc.
gt;
gt; Vendor quot;Bquot;:
gt; 300 m, 10 USD/ft
gt; 5000 m, 7 USD/ft
gt; 25000 m, 6 USD/ft
gt; etc...
gt;
gt; Plotting this with a line chart with data points marked is not a
gt; problem but I can only get one unit on the X-axis where I would like to
gt; have 2 scales with different units (ft and meters).
gt;
gt; Even better would be to be able to have a third scale on the X-axis
gt; that displays the number of units a certain lenght of cable is good for
gt; (one unit = 110 ft of cable) so one can look at the chart and read that
gt; quot;xxx meters/feet of cable from vendor A/B equals xxx number of finished
gt; units and costs xxx USD/ft).
gt;
gt; Whew... maybe too much details but PLEASE tell me this is possible to
gt; do!
gt;
gt; Any input into how to make such a chart is extremely welcome!
gt;
gt; /Johan
gt;
gt;
gt; --
gt; JohanD
gt; ------------------------------------------------------------------------
gt; JohanD's Profile:
gt; www.excelforum.com/member.php...oamp;userid=32573
gt; View this thread: www.excelforum.com/showthread...hreadid=523733
gt;
Thanks! That works great!
One question, is there any way to have both x-axis at the bottom of the
chart instead of one on top and one on the bottom?
I did not find any way of changing their position...
Follow up: if it's possible to have several axis at the same place
(i.e. if my question above is possibe) then I guess it should be
possible to have a tertiary axis (X-axis) also but if the X-axis can
only be put on top or on the bottom of the chart I guess a third x-axis
is out of the question?
Thanks,
Johan--
JohanD
------------------------------------------------------------------------
JohanD's Profile: www.excelforum.com/member.php...oamp;userid=32573
View this thread: www.excelforum.com/showthread...hreadid=523733You cannot get both X axes right at the bottom, but you could offset one
somewhat by changing the Crosses At value. For example, you could have one
horizontal axis at Y=0 and the second at Y=1. Y=0 is easy. For Y=1, double
click the corresponding Y axis (primary or secondary, and do this before
unchecking the secondary Y axis, if you're placing the secondary X axis at
Y=1), and on the Scale tab, enter 1 in the Category/Value X Axis Crosses At
box.
For a trick to get a tertiary axis (it can be adapted to horizontal axes):
peltiertech.com/Excel/Charts/TertiaryAxis.html
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services - Tutorials and Custom Solutions -
PeltierTech.com/
2006 Excel User Conference, 19-21 April, Atlantic City, NJ
peltiertech.com/Excel/ExcelUserConf06.html
_______
quot;JohanDquot; gt; wrote in
message ...
gt;
gt; Thanks! That works great!
gt;
gt; One question, is there any way to have both x-axis at the bottom of the
gt; chart instead of one on top and one on the bottom?
gt; I did not find any way of changing their position...
gt;
gt; Follow up: if it's possible to have several axis at the same place
gt; (i.e. if my question above is possibe) then I guess it should be
gt; possible to have a tertiary axis (X-axis) also but if the X-axis can
gt; only be put on top or on the bottom of the chart I guess a third x-axis
gt; is out of the question?
gt;
gt; Thanks,
gt; Johan
gt;
gt;
gt; --
gt; JohanD
gt; ------------------------------------------------------------------------
gt; JohanD's Profile:
gt; www.excelforum.com/member.php...oamp;userid=32573
gt; View this thread: www.excelforum.com/showthread...hreadid=523733
gt;
- Nov 21 Wed 2007 20:40
Line chart with multiple scales/units along an axis...
close
全站熱搜
留言列表
發表留言