Reputation
10,769
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
1 25 68
Impact
~88k people reached

Aug
28
comment Creating a certain image (3D shadows, highlighted intersections)
For the right half with the 3D curves with white outlines, see my answer here.
Aug
25
revised How can I superimpose a set of points on a ContourPlot?
fixed spelling of my name, and improved the grammar while I was at it
Aug
1
comment Redefining a built-in operator
If you follow @ciao's suggestion, you can also use it in infix notation via a ~p~ b.
Jul
29
awarded  Nice Question
Jul
28
comment Gauss Fit to List of 2D Points
I didn't know about EstimatedDistribution, thanks for that! By the way, given that this is a probability distribution, the scaling factor ought to just be the total number of observations times the spacing between bins, i.e. c = 0.1 Total@data[[All,2]]. That gives $264.9$ compared to $266.675$ from your method; I don't have a good explanation for the difference.
Jul
27
comment Gauss Fit to List of 2D Points
@infinitezero: By the way, that is known as the Rayleigh distribution.
Jul
25
revised InverseFunction of [E, 1, 1][c/Sqrt[K[1]]] isn't it just Log[c/Sqrt[K[1]]?
added 24 characters in body
Jul
23
comment How do I remove grid from this photo?
Well, you have all their code; why don't you try it out yourself on the high-resolution image?
Jul
22
comment How do I remove grid from this photo?
I think the reason the grid is still left is because RidgeFilter looks for thin bright ridges, so in the regions where the grid is darker than the background, RidgeFilter is selecting parts not in the grid to be part of the mask. For illustration, take a look at ImageMultiply[img, mask] and zoom in on the white window frame behind the cat. Not sure what would be a better way of doing it though.
Jul
16
answered How can you get the area of a region from an image?
Jul
16
comment How can you get the area of a region from an image?
@Mr.Wizard: Because I wasn't sure whether I was answering the intended question. Going by the title it's conceivable the OP wants to count the area of the shaded region in the actual raster image rather than in the geometric shape it depicts. Fernando: Can you clarify? Also, what do you mean by "modify something out imaginary parts"?
Jul
16
comment How can you get the area of a region from an image?
Area[RegionIntersection[Disk[{l, 0}, l], Disk[{0, l}, l], Disk[{l/2, l/2}, l/2]]]
Jul
14
comment Surface Area of a Region inside a Region
In principle, you could just do Area[RegionIntersection[RegionBoundary[myRegion], container]], but I'm not near a Mathematica instance right now to try it out and I recall it having trouble with intersections of regions of different dimensionalities.
Jul
13
comment How to make an animation of circle “decaying” into two smaller circles using Manipulate?
Graphics[{If[t < t0, Circle[x[t], r], {Circle[x1[t], r1], Circle[x2[t], r2]}]}, ...]
Jul
13
comment How to plot any 7 point shape in 2D i.e. star
Have you tried Polygon?
Jul
12
comment How to reconstruct a surface given points {x, y, z} and the surface normals {nx, ny, nz} at these points
Try ListPlot3D with the VertexNormals option.
Jul
10
answered Minkowski sum and product of 2D-regions
Jul
9
comment Minkowski sum and product of 2D-regions
This works on reals but not on complex numbers: Reduce[Exists[{x1, x2}, x1 ∈ Reals && x2 ∈ Reals && Abs[x1 - 1] <= 1 && Abs[x2 - 1] <= 1 && x1 x2 == x], x, Reals] gives 0 ≤ x ≤ 4.
Jul
8
comment Finding closest point to implicitly defined curve
NMinimize[{EuclideanDistance[{x, y}, {x0, y0}], f[x, y] == 0}, {x, y}]?
Jul
8
comment What is the font that is most similar to latex fonts?
You know you can select the LaTeX font to match the ones available in Mathematica? For example, Times, Helvetica, Courier...