Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Incredible slow Plot
Replies: 8   Last Post: Jul 13, 2011 2:27 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Iván Lazaro

Posts: 34
Registered: 6/18/07
Incredible slow Plot
Posted: Jul 9, 2011 6:45 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi!

I'm trying to Plot a result from NDSolve. The problem is that when I
pass this solution to Plot it takes an incredible long time (four
hours for times between 0 and 1200) to plot. I tried generating an
image file (.jpg, .eps, etc.) but that doesn't change anything. I
tried also giving to Plot the option PerformanceGoal -> "Speed", but
it gives me only half an hour less of waiting time. The other options
(like PlotPoints -> Number, MaxRecursion -> 0 ) give an improvement
but the image is ugly unless PlotPoints is high, which at the end is
the same.

I tried also asking for Plot only the last 200 units of time, trying
to avoid the most oscillating part of the graphic, but that really
doesn't help (and really it's not what I need).

Finally, the resulting InterpolatingFunction, when evaluated outside
Plot, evaluates fast, and a ListPlot using points returned by a Table
works well, but the resulting graphic is insanely big (35, 36 Mb) if I
put the points necessary to give account of the features of the
dynamic.

Unfortunately I can't give you an example because the equations I'm
solving are too long, but I wonder if there is someway to generate the
graphic, either on the interface or in a file, to not be so slow.

Thanks in advance, and sorry for this vague question (which, by the
way, without examples, is useless... by I had to give it a try).




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.