0
$\begingroup$

Facing problem with using manipulate along with Plot. Below is the function call where I have only one parameter to change, hence plot is not allowing. Searched for various options but not able to achieve manipulation

curve = Manipulate[ParametricPlot[abc[b, n, 0, t], {t, 0.7, 1.2},PlotStyle -> 
{Thick}], {{t, 0, "max"}, 0, 1}]; 

Need to manipulate as per t value. Not able to get the correct syntax.

$\endgroup$
7
  • $\begingroup$ Welcome to Mathematica.SE! 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Take the tour and check the faqs! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! $\endgroup$
    – user9660
    Feb 16, 2016 at 6:33
  • $\begingroup$ Will do so :) can you help me in this $\endgroup$
    – maximus
    Feb 16, 2016 at 6:34
  • $\begingroup$ Have a look here Initial Values and Labels $\endgroup$
    – user9660
    Feb 16, 2016 at 6:42
  • 1
    $\begingroup$ Including the definition of abc would be nice… $\endgroup$ Feb 16, 2016 at 6:46
  • $\begingroup$ Have you seen Manipulating multiple parameters in a ParametricPlot? $\endgroup$
    – user9660
    Feb 16, 2016 at 6:49

1 Answer 1

1
$\begingroup$

You can't manipulate the t of your plot function.

Try this

curve = Manipulate[ParametricPlot[abc[b, n, 0, t], {t, tStart, tStart + tPlus}, 
PlotStyle -> {Thick}], {{tStart, 0.7, "start"}, 0, 
1}, {{tPlus, 0.5, "plus"}, 0, 1}];
$\endgroup$
3
  • $\begingroup$ throws error as ParametricPlot::plld: "Endpoints for t in {t,FEtStart$$2779,FEtStart$$2779+FEtPlus$$2779} must have distinct machine-precision numerical values. "` $\endgroup$
    – maximus
    Feb 16, 2016 at 7:17
  • $\begingroup$ Yes, you shold not try to use an exact zero. Try the edited one, where the starting values aren't zero. $\endgroup$
    – Phab
    Feb 16, 2016 at 7:51
  • 4
    $\begingroup$ $MachineEpsilon is handy for that sort of thing. $\endgroup$ Feb 16, 2016 at 8:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.