Reputation
12,268
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
2 29 74
Impact
~110k people reached

2d
comment Color a single contour from a ListContourPlot3D using values from a list
You could also just use one of Mathematica's many nice built-in color schemes, like ColorData["StarryNightColors"][func[x, y, z]].
Feb
4
comment Color a single contour from a ListContourPlot3D using values from a list
If you have Mathematica 10.2 or higher, you could also try ListSliceDensityPlot3D.
Feb
3
awarded  Popular Question
Feb
3
comment How to make a contour shading like this
You should also look into DensityPlot.
Jan
29
comment Grayscale Morphology
@SjoerdC.deVries: What you're thinking of, and what Mathematica apparently implements, is a special case of grayscale morphology with flat kernels. One can certainly use nonflat kernels in principle.
Jan
21
comment Battery charge simulation not clipping properly as it iterates
Also worth pointing out that Which is an expression that returns a value, so you could do batterylevel[[i]] = Which[mink < next < maxk, next, next <= mink, mink, next >= maxk, maxk] if you didn't know about Clip.
Jan
20
comment Working with $X^2$, where $X$ has the uniform distribution in $[-b,b]$
The joint density will be hard to plot because its support $\{(x,x^2):-b\le x\le b\}$ is a one-dimensional subset of the plane.
Jan
15
comment Need VectorPlot to ignore centre of region
A circle of radius 0.2 is defined by x^2 + y^2 > 0.2^2, not x^2 + y^2 > 0.2.
Jan
14
comment Contour plot of the imaginary portion of a function given the real part is positive
In that case you have to think about what you want drawn in the region where the real part of both functions is positive.
Jan
13
comment Contour plot of the imaginary portion of a function given the real part is positive
ContourPlot[Im[x + I y - Log[x + I y]], {x, -6, 8}, {y, -6, 6}, RegionFunction -> Function[{x, y}, Re[x + I y - Log[x + I y]] > 0]]
Jan
13
comment Change Contour Plot Overlap Ordering
Apparently Mathematica always draws contours in increasing order of function value. The easiest solution I can think of is to plot the negative of the function, ContourPlot[-Sqrt[...], ..., Contours -> -list].
Jan
13
comment Contour plotting multiple curves
Works for me: i.stack.imgur.com/eoARJ.png (Mathematica 10.1)
Jan
13
revised 3D representation of a transcendental equation
deleted 13 characters in body
Jan
13
answered 3D representation of a transcendental equation
Jan
13
comment 3D representation of a transcendental equation
Try evaluating F*Exp[x] + x*y + Sqrt[F - y] /. sl /. {x -> -1, y -> -1}: neither "solution" satisfies the original equation.
Jan
9
comment How to “inform” successive ContourPlot calculations?
No, just change your definition of z to stop iterating sooner and use that in ContourPlot.
Jan
9
comment How to “inform” successive ContourPlot calculations?
The first thing I'd try is to change your function to stop iterating as soon as $|z(r,c)|>2$. This doesn't change the contour, but now for most of the points in the plot range it won't have to iterate all the way to $n$. I don't know if it's easy to do this efficiently in a functional style; I would write an explicit loop instead.
Jan
5
comment Integration of a Gaussian function in kernel density estimation
Nothing is wrong. Kernel density estimation is not supposed to recover the original distribution (unless $h\to0$), it is supposed to give you a smoothed version of the distribution. In this case, you have computed the convolution of two normal distributions with variance $1$, which is a normal distribution with variance $2$.
Jan
4
comment Find the (gaussian) function to fit a series of points?
To get the product of a and x you have to write a x with a space between them. ax is a different variable called "ax".
Jan
4
comment Help with finding the point(s) inside a closed shape with the highest average ray length?
Sorry, I don't think I can help further. This seems to be a specific problem on your side.