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: [mg127792] Re: Drawing a Line From One Plot to Another
  • From: Gregory Lypny <gregory.lypny at videotron.ca>
  • Date: Thu, 23 Aug 2012 02:51:42 -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>

Hello Louis,

How do you draw two sets of axes in the same plot?

Gregory


On Mon, Aug 20, 2012, at 9:59 PM, Louis Talman <talmanl at gmail.com> wrote:

> 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: Non-sequential composition of pure functions
  • Next by Date: Group and Replace itens sequence in a list
  • Previous by thread: Re: Drawing a Line From One Plot to Another
  • Next by thread: Re: Drawing a Line From One Plot to Another