Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to use a function "Manipulate" to SmoothHistogram3D

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128780] Re: How to use a function "Manipulate" to SmoothHistogram3D
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Sun, 25 Nov 2012 04:59:51 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <20121124073107.40E5C69A9@smc.vnet.net>

data = {{4000., 3.54036*^-9}, {5000., 5.22417*^-8}, {5500.,
    5.63087*^-8},
   {6000., 6.0201*^-7}, {6500., 6.55389*^-7}};

Manipulate[
 SmoothHistogram3D[data, {bw, ker}, dfun,
  PlotLabel -> Style["Smooth Histogram 3D\n", Bold, 14],
  AxesLabel -> (Style[#, Bold, 12] & /@
     {"x", "y", "dfun  "})],
 {{bw, "Silverman", "Bandwidth"}, {
   "LeastSquaresCrossValidation",
   "Oversmooth",
   "Scott",
   "SheatherJones",
   "Silverman",
   "StandardDeviation",
   "StandardGaussian"}},
 {{ker, "Gaussian", "Kernel"}, {
   "Biweight",
   "Cosine",
   "Epanechnikov",
   "Gaussian",
   "Rectangular",
   "SemiCircle",
   "Triangular",
   "Triweight"}},
 {{dfun, "PDF", "Distribution\nFunction (dfun)"}, {
   "PDF" -> "Probability Density Function",
   "CDF" -> "Cumulative Density Function",
   "SF" -> "Survival Function",
   "HF" -> "Hazard Function",
   "CHF" -> "Cumulative Hazard Function"},
  ControlType -> PopupMenu}]


Bob Hanlon


On Sat, Nov 24, 2012 at 2:31 AM,  <heliumm.00 at gmail.com> wrote:
> How to use a function "Manipulate" to SmoothHistogram3D[data[[1]]], I imported data from Excel. Data is: {4000., 3.54036*10^-9}, {5000., 5.22417*10^-8}, {5500., 5.63087*10^-8}, {6000., 6.0201*10^-7}, {6500., 6.55389*10^-7}.
> How to animate SmoothHistogram3D?
>



  • Prev by Date: Re: non optimized inner for loops
  • Next by Date: Re: How Can I Make A String Variable With Styled Text?
  • Previous by thread: How to use a function "Manipulate" to SmoothHistogram3D
  • Next by thread: Re: How to use a function "Manipulate" to SmoothHistogram3D