Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Drawing a Line From One Plot to Another

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127774] Re: Drawing a Line From One Plot to Another
  • From: Louis Talman <talmanl at gmail.com>
  • Date: Tue, 21 Aug 2012 04:59:52 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <20120821012743.787FD636C@smc.vnet.net>

There is another possibility that hasn't been mentioned: Draw two sets of
axes in the same plot and then draw your curves relative to the appropriate
set of axes. It's then easy to draw a line between points in the different
reference systems.  See <
http://rowdy.mscd.edu/~talmanl/HTML/MovingSlopeTriangle.html> for an
animation constructed in this way.

On Mon, Aug 20, 2012 at 7:27 PM, Gregory Lypny
<gregory.lypny at videotron.ca> wrote:

> Thanks Alexei Boubitch, ALexander Elkins, Bob Hanlon, and Vincenzo
> Carrino, for your thoughtful suggestions.  The approach of
>
>         Show[GraphicsColumn[{Plot[myFirstPlot], Plot[mySecondPlot]}],
> Graphics[Line[{pt1, pt2}]]]
>
> was showing promise, but it is finicky even when PlotRangePadding,
> ImagePadding, and PlotRange, are kept constant.  I can get it working for
> one set of parameters, but in a Manipulate it unfortunately breaks down.
>  I'll keep tinkering.
>
>

> Regards,
>
> Gregory
>
>


-- 
--Louis A. Talman
  Department of Mathematical and Computer Sciences
  Metropolitan State College of Denver

  <http://rowdy.mscd.edu/%7Etalmanl>




  • Prev by Date: Re: Thread::tdlen: Objects of unequal length in
  • Next by Date: Re: V8 slow like a snail
  • Previous by thread: Drawing a Line From One Plot to Another
  • Next by thread: Re: Drawing a Line From One Plot to Another