highsciguy
Reputation
589
Top tag
Next privilege 1,000 Rep.
See vote count; VIP usercard
 2d revised Plot contours for 3d histograms added 36 characters in body Apr22 accepted Plot contours for 3d histograms Apr22 comment Plot contours for 3d histograms Works. Why don't you edit your answer? Apr22 comment Plot contours for 3d histograms This is the correct direction, however I do need only two contour lines and I need it smoothed (see my recent edit to the question). Apr22 revised Plot contours for 3d histograms added 744 characters in body Apr22 comment Plot contours for 3d histograms As I said this has been a wrong phrasing. I want a contour line of a probability distribution corresponding to a smoothed histogram. I could as well ask how do I isolate a single contour from SmoothDensityHistogram (I don't want the smooth function itself) and combine it with other such contours corresponding to different histograms. Apr22 comment Plot contours for 3d histograms Let's put it this way: The histogram gets me an integer value (count) for each of a finite number of 2-dimensional bins. I then apply a (to be defined) smoothing algorithm which gives a smooth function f(x,y) of two variables (I could turn it into a probability distribution function by normalization). I want to plot a specific contour line which satisfies f(x,y)=const. As I mentioned this this would be a contour line in a SmoothDensityHistogram[] plot. Apr22 revised Plot contours for 3d histograms added 7 characters in body Apr22 comment Plot contours for 3d histograms Sorry, wrong phrasing! It should plot a maximum likelihood contour rather than that, i.e. one within which the probability has a given value or more. Of course there can be a set of disconnected such contours and, of course, it won't be unique either because it will depend on the smoothing. Apr22 asked Plot contours for 3d histograms Apr15 accepted Trouble with ToString and StringForm Apr12 comment Trouble with ToString and StringForm Yes, I could. However, I would need to wrap every single number in my outputs with ToString then. Apr12 comment Trouble with ToString and StringForm InputForm[ ToString@StringForm["SomeText= as well as OtherText=.", 2.0*10^(-15), "textB"]] would however result in " -15\nSomeText=2. 10 as well as OtherText=textB." which is also not what I want. It should become "SomeText=2. 10^-15 as well as OtherText=textB." or similar. Apr12 asked Trouble with ToString and StringForm Feb21 accepted Convert C program using mathlink to WSTP Feb21 revised Using mathlink/WSTP with fortran added 6 characters in body Feb16 asked Using mathlink/WSTP with fortran Feb16 asked Convert C program using mathlink to WSTP Jul2 awarded Curious Jun9 awarded Nice Question