Group Abstract Group Abstract

Message Boards Message Boards

Keep showing the function DiscretePlot using Manipulate?

Hi,

I have an issue with "Manipulate" when used with the function "DiscretPlot". For instance, using the following command:

Manipulate[DiscretePlot[Sin[a*x + b], {x, 0, 40, 1}], {a, 0, 10}, {b, 0, 10}]

when i move the cursor of the "a" value, the segments under the dot values disappear and reappear when i stop moving (changing) the value. Is there a way to keep them showing even when I'm changing the value of 'a' or 'b'? I know they disappear to make it a smoother and faster movement but at some frequencies, we can't see the effect without seeing them moving.

Thank you for your help.

POSTED BY: Ghassane Aniba
5 Replies

I guess what you basically want is:

Manipulate[DiscretePlot[Sin[a*x + b], {x, 0, 40, 1}, PerformanceGoal -> "Quality"], {a, 0, 10}, {b, 0, 10}]

This of course can be combined with AutoAction -> True, then it appears to run even smoother.

POSTED BY: Henrik Schachner

Great, this is the effect i've been looking for. Thanks a lot.

POSTED BY: Ghassane Aniba
Posted 8 years ago
POSTED BY: Jim Baldwin
POSTED BY: Ghassane Aniba
Posted 8 years ago
POSTED BY: Jim Baldwin
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard