Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Automatic & linked axis scaling

  • To: mathgroup at smc.vnet.net
  • Subject: [mg64940] Automatic & linked axis scaling
  • From: ggroup at sarj.ca
  • Date: Wed, 8 Mar 2006 01:00:11 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

I'm trying to find an automated way to scale the axes of graphics such that 
that one unit takes up the same distance on all axes.  I'm modelling physical 
objects, and often want to see various phenomenon superimposed onto that 
object.  It would be nice if I could avoid having the view distorted by 
independent axis scaling.

On a 2D graphic, I can do this manually by specifying the AspectRatio.  I just 
need to set it using the ratio of the length of the y-range to the length of 
the x-range.  Of course, along with that, I need to explicitly specify 
corresponding values for the PlotRange.  

This becomes a bit of a pain when developing a model and/or coding.  Usually 
the object range is well defined, but one of the other graphic objects will 
have bounds that are ill-defined (say I want to add arrows indicating 
calculated surface normals).

Does anyone have a good generic solution?

Thanks!


  • Prev by Date: Re: Distinguished logarithm, branch cuts, etc.
  • Next by Date: Re: Data acquisition via link for Excel
  • Previous by thread: Re: MathML of input expression
  • Next by thread: Re: Automatic & linked axis scaling