Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10397 > unrolled thread

Problems with dynamic contour plots produced for the CDF-reader

Started byArnulf <koehncke@gmx.de>
First post2012-06-08 07:38 +0000
Last post2012-06-08 07:38 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Problems with dynamic contour plots produced for the CDF-reader Arnulf <koehncke@gmx.de> - 2012-06-08 07:38 +0000

#10397 — Problems with dynamic contour plots produced for the CDF-reader

FromArnulf <koehncke@gmx.de>
Date2012-06-08 07:38 +0000
SubjectProblems with dynamic contour plots produced for the CDF-reader
Message-ID<jqsa6f$dfm$1@smc.vnet.net>
Dear all,

this is my first message to this forum, and I'm looking for help on a
slightly complex issue regarding dynamic evaluation and the productoin
of interactive plots to look at in Mathematica's free CDF-reader.

We are trying to implement a dynamic version of a contour plot to let
readers interact with our model a bit by changing its parameters and
directly looking at the results in the plot. The output should be a
CDF that can be opened and interacted with using the free CDF-player.
Obviously, contour plots may be a bit computation intensive for
dynamic updating, but we tried our best to reduce complexity...

Here's the problem: When in Mathematica, the dynamic updating works
without problem. When copying the output into a new file, saving this
file as a CDF, and opening it in the CDF-reader, the updating doesn't
work at all. Without extra settings, it will usually show "$aborted"
instead of the plot. That is most likely due to the evaluation
exceeding the timeout-threshold for dynamic evaluation. And indeed, if
we increse that timeout via Style[exp, DynamicEvaluationTimeout->X],
things change: It still works fine in Mathematica (as before, and why
shouldn't it), but in the CDF-reader we now get an empty plot box
containing everything but the actual plot lines as an output instead
of the "$aborted"-message. So still not working...

If anyone has an idea why this is and if (and how) it could be solved?
It may simply be that the CDF-reader performs significantly slower
than Mathematica itself. Or is there another reason for this odd
behavior?

Thanks a lot and best from Berlin,

Arnulf

PS: I could also post a (not so) minimal example if anyone is
interested, but I was hoping for general comments and ideas first.

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web