MathGroup Archive 2009

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

Search the Archive

Re: Controlling axes lengths in Plots

  • To: mathgroup at smc.vnet.net
  • Subject: [mg98573] Re: [mg98460] Controlling axes lengths in Plots
  • From: "David Park" <djmpark at comcast.net>
  • Date: Mon, 13 Apr 2009 03:33:22 -0400 (EDT)
  • References: <2591303.1239356191121.JavaMail.root@n11>

The Presentations package should be able to do that. It has the primitives
XTickScale and YTickScale for drawing free standing scales. It also makes it
easy to combine various elements in one drawing statement. So think of a
piece of paper.

1) Make your plots without a frame or ticks, FrameLabel or PlotLabel.
2) Inset each plot in a fixed 'frame' on the piece of paper.
3) For each plot you can then draw tick scales just outside the frame
region. The TickScale routines allow you specify that a given length on the
piece of paper corresponds to a given scale.
4) You can add any other things on the piece of paper such as Text labels.

This might require a certain amount of work if each plot has different
scales and labels around it.


David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/  


From: dr DanW [mailto:dmaxwarren at gmail.com] 


Has anybody found a good technique to assume absolute control over the
lengths of the axes in a 2D plot?  I often have to build several
graphs to be overlaid using transitions in presentation software and
want to keep the plot area consistent for smooth transitions.

ImageSize only gives control over dimensions of the resulting
graphic.  If there are frame labels or legends that change in size
from one graph to the next than the whole graphic is constrained by
ImageSize, shrinking my plot area.

I have several workarounds, all of which break eventually.  What I
would really like is a FrameSize->{} option that overrides ImageSize
and lets me set the dimensions of the plot area directly.

Daniel




  • Prev by Date: Re: How to find current ViewAngle, ViewPoint during Rotating graphics?
  • Next by Date: Re: Adding text to RegionPlot
  • Previous by thread: Controlling axes lengths in Plots
  • Next by thread: NetLink SEHException in getDefaultLaunchString