Message Boards Message Boards

2 Replies
0 Total Likes
View groups...
Share this post:

How can I manipulate the significant digits in Dynamic command ?

Posted 9 years ago


I have a very simple question, but I couldn't find the solution. Now I am trying to make a animation as follows : And I wanted to include the "aa" parameter value using "Dynamic" command. But here, can I change the significant digits (to have only three significant digits like 1.23) here ? For example, "aa=" 1.234582 ==> "aa=" 1.23 Thank you in advance.

Animate[{"aa=" Dynamic[a], Plot[Sin[x (1 + a x)], {x, 0, 6}], 
  Plot[Cos[x (1 - 2 a x)], {x, 0, 6}]}, {{a, 0, "Parameter="}, 0, 2}]
POSTED BY: hwoarang Polar
2 Replies
Posted 9 years ago

It works. Thank you very much!

POSTED BY: hwoarang Polar
Posted 9 years ago

Will this do enough of what you want?

Animate[{"aa=" NumberForm[a, If[a < 1, 2, 3]],...
POSTED BY: Bill Simpson
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract