Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10498 > unrolled thread
| Started by | "Mat' G\." <ellocomateo@free.fr> |
|---|---|
| First post | 2012-06-15 19:27 +0000 |
| Last post | 2012-06-17 07:59 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Plot3D progress "Mat' G\." <ellocomateo@free.fr> - 2012-06-15 19:27 +0000
Re: Plot3D progress psycho_dad <s.nesseris@gmail.com> - 2012-06-17 07:59 +0000
| From | "Mat' G\." <ellocomateo@free.fr> |
|---|---|
| Date | 2012-06-15 19:27 +0000 |
| Subject | Plot3D progress |
| Message-ID | <jrg2bb$sgh$1@smc.vnet.net> |
Hello,
How can I survey the progress of a 3D plot?
I tried the following, but this does not to work:
(the integral is very lengthy)
Plot3D[Integrate[ElField[x,y],{x,0,xMax},{y,0,yMax}]
, {xMax, 0, FOVSize}
, {yMax, 0, FOVSize}
, EvaluationMonitor :> Print[xMax]
]
Thanks for helping!
Mat
[toc] | [next] | [standalone]
| From | psycho_dad <s.nesseris@gmail.com> |
|---|---|
| Date | 2012-06-17 07:59 +0000 |
| Message-ID | <jrk2o7$8lo$1@smc.vnet.net> |
| In reply to | #10498 |
Hi dude,
This example seems to work (I changed Integrate to NIntegrate for efficiency reasons and used Sin[x] Sin[y] instead of your unknown (to me) function):
data = {};
Plot3D[NIntegrate[Sin[x] Sin[y], {x, 0, xMax}, {y, 0, yMax}], {xMax,
0, 1}, {yMax, 0, 1},
EvaluationMonitor :> AppendTo[data, {xMax, yMax}]]
In the end the values of {xMax, yMax} are included in list called data.
I hope this helps. If you are interested have a look at this cool example of using EvaluationMonitor+Contourplot:
https://groups.google.com/d/msg/comp.soft-sys.math.mathematica/xUKwUoXsgt4/EgQBdUBM5nYJ
Cheers
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web