A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Plotting x-y data to same physical dimension on plot



 
 
Thread Tools Display Modes
  #1  
Old October 18th, 2009, 10:44 PM posted to microsoft.public.excel.charting
Opsimath1939
external usenet poster
 
Posts: 1
Default Plotting x-y data to same physical dimension on plot

I have a series of x-y plots to make using Excel. All values of x and y are
in range +10 units to -10 units. However when I plot the data in Excel, the
plot is distorted as the physical size per unit on the the x and y axes is
not the same. How can I plot the data so that say 1unit is say 1cm long on
both x and y axes? In other words, if the data is for say an ellipse how do I
plot the data so that the output really is an ellipse?
  #2  
Old October 19th, 2009, 02:17 AM posted to microsoft.public.excel.charting
smartin
external usenet poster
 
Posts: 780
Default Plotting x-y data to same physical dimension on plot

Opsimath1939 wrote:
I have a series of x-y plots to make using Excel. All values of x and y are
in range +10 units to -10 units. However when I plot the data in Excel, the
plot is distorted as the physical size per unit on the the x and y axes is
not the same. How can I plot the data so that say 1unit is say 1cm long on
both x and y axes? In other words, if the data is for say an ellipse how do I
plot the data so that the output really is an ellipse?


Well an ellipse looks like an ellipse, regardless of the axis scales,
right? (^:

But I understand your frustration. AFAIK Excel provides no means to
ensure the chart axis units have the same appearance on-screen. However,
if you drag the chart corners until it looks right, then you can at
least resize the result using Shift+Drag to keep the proportions the same.
  #3  
Old October 19th, 2009, 04:47 AM posted to microsoft.public.excel.charting
Ed Ferrero[_3_]
external usenet poster
 
Posts: 102
Default Plotting x-y data to same physical dimension on plot

And you can try running something like this in VBA

With Worksheets(1).ChartObjects(1)
.Height = .Width
With .Chart
.Axes(xlValue).MaximumScale = .Axes(xlCategory).MaximumScale
.Axes(xlValue).MinimumScale = .Axes(xlCategory).MinimumScale
.PlotArea.Height = .PlotArea.Width
End With
End With

Ed Ferrero
www.edferrero.com
 




Thread Tools
Display Modes

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 Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:41 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.