MathGroup Archive 2011

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

Search the Archive

Manipulate graphs with graphics

  • To: mathgroup at smc.vnet.net
  • Subject: [mg122892] Manipulate graphs with graphics
  • From: Hansotto <hansotto.kristiansen at gmail.com>
  • Date: Mon, 14 Nov 2011 07:08:56 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Hi guys. 

How do you plot a graph (parametric, in my case) and a graphic (arrow, as vector) in one "window" of manipulate? 

I'm trying to plot a clotoide with vector of velocity and acceleration... 

Here's what I've got so far:

Manipulating the arrow by itself:
Manipulate[
 Graphics[{Red, 
   Arrow[{{Part[First[R[t]], 1], 
      Part[Last[R[t]], 1]}, {Part[First[R''[t]], 1], 
      Part[Last[R''[t]], 1]}}]}], {t, 0, 5}] 

Manipulating the clotoide by itself (R[t] is the x and y's of the clotide):
Manipulate[
 ParametricPlot[R[t], {t, 0, t}, PlotRange -> {-3, 3}], {t, 0.001, 4}]


How do I COMBINE those two?!


Thanks in advande



  • Prev by Date: Re: Replace in an elegant way
  • Next by Date: Re: how to plot new data points to pre-existing figure
  • Previous by thread: Re: Strange Probability function behavior (Bug?)
  • Next by thread: Re: Manipulate graphs with graphics