Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11245 > unrolled thread
| Started by | "Nicholas Kormanik" <nkormanik@gmail.com> |
|---|---|
| First post | 2012-08-06 08:50 +0000 |
| Last post | 2012-08-09 07:55 +0000 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Surface Smoothing "Nicholas Kormanik" <nkormanik@gmail.com> - 2012-08-06 08:50 +0000
Re: Surface Smoothing "Kevin J. McCann" <kjm@KevinMcCann.com> - 2012-08-08 07:15 +0000
Re: Surface Smoothing "Nicholas Kormanik" <nkormanik@gmail.com> - 2012-08-09 07:55 +0000
| From | "Nicholas Kormanik" <nkormanik@gmail.com> |
|---|---|
| Date | 2012-08-06 08:50 +0000 |
| Subject | Surface Smoothing |
| Message-ID | <jvo0fu$cfq$1@smc.vnet.net> |
This is a follow-up to a post I made last week (included at bottom). My ListPlot3D output is pretty spiky, with spikes extending above and below. Quite hard to get a sense where any "sweet spots" might exist - "neighborhood average" relatively high. I've looked into using the various forms of Interpolate. None of those will "smooth the surface," as they all require passing through the original data points. I'm wondering if any of you might know of a third-party Mathematica package that will do surface smoothing? Please guide me to such package, if you do. Or if you know of another approach that'll get the job done. Thanks, Nicholas From: Nicholas Kormanik [mailto:nkormanik@gmail.com] Sent: Friday, August 03, 2012 1:04 AM To: 'mathgroup@smc.vnet.net' Subject: ListContourPlot I've been attempting to create a contour plot within Mathematica 8.04. I posted to the Mathematica StackExchange, but didn't get a conclusive answer: http://mathematica.stackexchange.com/questions/8821/creating-optimal-smoothe d-contour-type-plots-x-y-z-using-mathematica-8-04 Hopefully someone here can assist. Here is a link to the data file: http://rapidgator.net/file/29594247/20201_23405_50502.XLS.html Here is a link to an example contour plot, made in another program (SAS): http://rapidgator.net/file/29594680/50502_20201_23405.png.html In case the files do not make it through to you, the data file is an Excel .xls file with three columns, X,Y,Z. Z in the contour plot would be shown by contours or a gradient of colors. If a contour plot isn't possible, perhaps ListPlot3D? The process is far from straight-forward. Definitely a learning curve involved. Unfortunately the Mathematica documentation almost exclusively gives examples using functions and distributions, not standard data columns for input. Thanks, Nicholas Kormanik
[toc] | [next] | [standalone]
| From | "Kevin J. McCann" <kjm@KevinMcCann.com> |
|---|---|
| Date | 2012-08-08 07:15 +0000 |
| Message-ID | <jvt3m0$lt1$1@smc.vnet.net> |
| In reply to | #11245 |
Any smoothing implicitly assumes that you "know" what the data should look like. So, I assume that you know that the spiky behavior is not "correct". Given that, how about a LSQ fit to some satisfactorily smooth function, e.g. a 2d polynomial or a truncated Fourier series? Kevin On 8/6/2012 4:50 AM, Nicholas Kormanik wrote: > This is a follow-up to a post I made last week (included at bottom). > > My ListPlot3D output is pretty spiky, with spikes extending above and below. > Quite hard to get a sense where any "sweet spots" might exist - > "neighborhood average" relatively high. > > I've looked into using the various forms of Interpolate. None of those will > "smooth the surface," as they all require passing through the original data > points. > > I'm wondering if any of you might know of a third-party Mathematica package > that will do surface smoothing? > > Please guide me to such package, if you do. Or if you know of another > approach that'll get the job done. > > Thanks, > > Nicholas > > > From: Nicholas Kormanik [mailto:nkormanik@gmail.com] > Sent: Friday, August 03, 2012 1:04 AM > To: 'mathgroup@smc.vnet.net' > Subject: ListContourPlot > > > > > > I've been attempting to create a contour plot within Mathematica 8.04. > > > > I posted to the Mathematica StackExchange, but didn't get a conclusive > answer: > > > > http://mathematica.stackexchange.com/questions/8821/creating-optimal-smoothe > d-contour-type-plots-x-y-z-using-mathematica-8-04 > > > > Hopefully someone here can assist. > > > > Here is a link to the data file: > > > > http://rapidgator.net/file/29594247/20201_23405_50502.XLS.html > > > > Here is a link to an example contour plot, made in another program (SAS): > > > > http://rapidgator.net/file/29594680/50502_20201_23405.png.html > > > > In case the files do not make it through to you, the data file is an Excel > .xls file with three columns, X,Y,Z. Z in the contour plot would be shown > by contours or a gradient of colors. > > > > If a contour plot isn't possible, perhaps ListPlot3D? > > > > The process is far from straight-forward. Definitely a learning curve > involved. > > > > Unfortunately the Mathematica documentation almost exclusively gives > examples using functions and distributions, not standard data columns for > input. > > > > Thanks, > > Nicholas Kormanik > > >
[toc] | [prev] | [next] | [standalone]
| From | "Nicholas Kormanik" <nkormanik@gmail.com> |
|---|---|
| Date | 2012-08-09 07:55 +0000 |
| Message-ID | <jvvqdg$rev$1@smc.vnet.net> |
| In reply to | #11245 |
Good point, Kevin. The spiky behavior does make things rather scary. By incorporating additional factors (beyond the two in the contour map) I hope to minimize the bad spikes, and maximize the good ones. For now, though, I hope to find a relatively decent "neighborhood," should such actually exist - i.e., the "sweet spot." An analogy might be: A dangerous minefield. If I absolutely have to walk through it, I'd like to try to ascertain the path with the lowest probability of being blown up. Nicholas Kormanik -----Original Message----- From: Kevin J. McCann [mailto:kjm@KevinMcCann.com] Sent: Tuesday, August 07, 2012 9:16 AM To: nkormanik@gmail.com Subject: Re: Surface Smoothing Any smoothing implicitly assumes that you "know" what the data should look like. So, I assume that you know that the spiky behavior is not "correct". Given that, how about a LSQ fit to some satisfactorily smooth function, e.g. a 2d polynomial or a truncated Fourier series? Kevin
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web