9,112 reputation
11954
bio website
location
age
visits member for 2 years, 11 months
seen 10 mins ago

Jan
2
answered How to plot this region?
Jan
2
comment Problem with ContourPlot [Not smooth curve]
I'm not sure. Maybe one of the other solutions in your previous question doesn't have this problem?
Jan
2
comment Problem with ContourPlot [Not smooth curve]
The problem is because of the post-processing you are applying to the contour lines. The lowermost "line" is actually two Line primitives which are individually being reflected.
Jan
2
comment How to plot this region?
ParametricPlot[{u.a.u, u.b.u}, {θ, 0, 2 π}]
Dec
31
comment List Contour Plot: Delete some contour lines, but keep the colors
You could also Show a ListContourPlot with just the contours you want (and ContourShading -> None) on top of a ListDensityPlot.
Dec
31
comment List Contour Plot: Delete some contour lines, but keep the colors
"ContourStyle → $\{g_1, g_2, \ldots\}$ specifies that successive directives $g_i$ should be used to draw successive contours." So, for example, Contours -> {0, 0.1, 0.2, 0.5}, ContourStyle -> {Black, None, None, Black}.
Dec
30
comment Moving polygon on path curve to create 3D shape
@Yves: Perhaps one could edit the previous question to optionally request an arbitrary cross-section. (That wouldn't invalidate the rest of the existing answers.)
Dec
27
comment Random real numbers that sum up to specific value
See also Random numbers that add to 100, which has some nice plots that illustrate how the different strategies behave. Also an equivalent question on the statistics site: Generate uniformly distributed weights that sum to unity?
Dec
27
comment Random real numbers that sum up to specific value
One can simply verify that PDF[DirichletDistribution[{1, 1, 1, 1, 1}], {a, b, c, d}] is constant inside the simplex.
Dec
27
comment Random real numbers that sum up to specific value
+1. Using DirichletDistribution[{1, 1, 1, 1, 1}] gives the same distribution as the method described by Vynce, i.e. uniformly distributed on the simplex $\sum x_i=1, x_i\ge 0$.
Dec
25
comment Generate nonoverlapping random circles
Previously: mathematica.stackexchange.com/q/11940/484
Dec
24
comment Sinusoidal Wave over a Circle
PolarPlot[r + Sin[n theta], {theta, 0, 2 Pi}]
Dec
23
comment Intelligent vertex placement in large tree graphs
You could use the first part of this answer to find all the linear chains in the graph. I haven't thought yet about how to collapse them.
Dec
23
comment How to cut a thick curve in half lengthwise?
@Kim By "filled with white" I meant colouring the interior of the cardioid with white, not the perimeter. In the road metaphor this covers the inside lane as well as the traffic island in the middle. I believe that's what the first part of Algohi's answer does.
Dec
23
comment How to cut a thick curve in half lengthwise?
If you don't need the inside to be transparent, what I do is to draw the curve again filled with white, leaving only the outer half showing.
Dec
23
comment How to make a graph of this function?
In general, one needs to evaluate a function in order to plot it. If your function cannot be evaluated, you need to fix it so that it can.
Dec
22
comment Find Unconnected Subregions
@David: I just typed Connected into a notebook hoping something related to connected components would show up, and there it was.
Dec
22
comment Finding periodicity of multidimensional data?
Look at the peaks of Total /@ ListCorrelate[data, data, 1]?
Dec
21
answered Find Unconnected Subregions
Dec
21
comment How can I improve ContourPlot to get smooth curve?
The data file is fairly large and I'm on a slow connection, so forgive me for asking, but does the file contain the original data array or just the InterpolatingFunction? As bbgodfrey's answer shows, the oscillations are inherent in the InterpolatingFunction, and it's quite possible that adjusting the parameters of Interpolation could solve the problem, but to do that we would need the original data.