PC Review


Reply
Thread Tools Rate Thread

chart secondary axis crossing with x axis

 
 
Matthew Dodds
Guest
Posts: n/a
 
      30th Nov 2005
I have a series of VBA generated plots with dual axes.
The data charted is best represented with a logprimary axis scale and a
log secondary axis scale.

For most datasets this is fine, and has the left/primary axis marker
'1' aligned horizontally with the right/secondary axis marker '0'; all
correct and how I want it it.

However, when an original value is less than 1, the primary log axis
responds appropriately by adding another log unit ('0.1') to
accommodate the data. The problem the plot then has is that this new
minimum on the primary log scale is aligned horizontally with the
right/secondary axis marker '0', which is not correct at all.

How can I code that the minimum axis value on the secondary axis (which
is invariably zero) will always align horizontally with the value 1 on
the primary log axis, regardless of how many log units this primary
axis requires?

Thanks in advance for your suggestions.

Matthew

 
Reply With Quote
 
 
 
 
Jim Cone
Guest
Posts: n/a
 
      30th Nov 2005
Matthew,
Take a look at the CrossesAt property of the Axis object.
Regards,
Jim Cone
San Francisco, USA

"Matthew Dodds"
<(E-Mail Removed)>
wrote in message
news:(E-Mail Removed)
I have a series of VBA generated plots with dual axes.
The data charted is best represented with a logprimary axis scale and a
log secondary axis scale.
For most datasets this is fine, and has the left/primary axis marker
'1' aligned horizontally with the right/secondary axis marker '0'; all
correct and how I want it it.
However, when an original value is less than 1, the primary log axis
responds appropriately by adding another log unit ('0.1') to
accommodate the data. The problem the plot then has is that this new
minimum on the primary log scale is aligned horizontally with the
right/secondary axis marker '0', which is not correct at all.
How can I code that the minimum axis value on the secondary axis (which
is invariably zero) will always align horizontally with the value 1 on
the primary log axis, regardless of how many log units this primary
axis requires?
Thanks in advance for your suggestions.
Matthew
 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Secondary Axis not crossing at zero =?Utf-8?B?VEMyMDA0?= Microsoft Excel Charting 4 1st Nov 2007 02:42 PM
How to place a secondary y axis bar in a bar chart next to two primary y axis bars? Dmitry Microsoft Excel Discussion 1 4th May 2006 01:58 AM
How to place a secondary y axis bar in a bar chart next to two primary y axis bars? Dmitry Microsoft Excel Misc 3 4th May 2006 01:58 AM
How do I make a chart with bar graphs on one axis, and a line ona secondary axis? Levin, Michael Microsoft Excel Discussion 2 12th Aug 2005 12:43 PM
Pivot Table, Line Chart with Secondary Y axis, Page Field selection destroys Y2 axis mw210461@yahoo.com Microsoft Excel Charting 0 13th Jul 2005 09:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:40 PM.