7,505 reputation
11746
bio website
location
age
visits member for 2 years, 8 months
seen 10 mins ago

Sep
12
comment Speed of ConvexHullMesh
It would be polite to include your code in the question so that it's easier for other people to attempt to reproduce your observations. I tested on my end (v10, OS X) for $N=2, 4, 8, \ldots, 2^{14}, 2^{15}$, and it seems to behave subquadratically for up to $2^{13}\approx 16{,}000$ points, after which it becomes quadratic. Maybe it has an upper limit on working memory for the $N\log N$ algorithm, beyond which it switches to a quadratic time algorithm.
Sep
12
comment What is the equation to plot a vertical line?
You could combine both the Plot and the PolarPlot into a single ContourPlot in your last example. In any case I feel the PolarPlot form is a little opaque while ContourPlot[x == 2, ...] is perfectly clear.
Sep
11
comment How to use Mathematica to turn a picture into low poly style?
You could build on top of this previous answer by Simon Woods: "This vectorisation attempts to represent the image with coloured triangles."
Sep
11
comment How to blend two photos in Mathematica?
I've posted an answer explaining the main issue. Other factual errors: 1. The screen blending mode is not equivalent to "50% grey half through", because screen applied to two layers both 50% grey becomes lighter, specifically GrayLevel[0.75]. 2. @paw's method is not lighten (which is $c_{\text{out}}=\max(c_1,c_2)$) but add ($c_{\text{out}}=c_1+c_2$), also known as linear dodge in Photoshop.
Sep
11
answered How to blend two photos in Mathematica?
Sep
10
comment How many triangles are there?
Why did you specify AspectRatio -> 1? That makes the triangles not remain equilateral.
Sep
10
comment Switching parameter lines on/off in a 3D parametric plot
A particularly appropriate choice of surface, too! +1
Sep
9
accepted Force change in aspect ratio of Inset image
Sep
9
accepted Changing BarLegend border style
Sep
9
comment Force change in aspect ratio of Inset image
Yes, it's just an example; my actual plots are more complicated. I don't want to use DensityPlot because if you export as PDF you can see ugly tessellation boundaries. ImageResize could work in a pinch, but I'm also curious if I can get Mathematica to just stretch the existing image.
Sep
9
asked Force change in aspect ratio of Inset image
Sep
8
asked Changing BarLegend border style
Sep
8
comment Multiple ListLogLogPlot from two data sets
PlotRange is inherited from the first plot. You can do Show[..., PlotRange -> All] to force it to include both plots. Alternatively, instead of using Show to combine two plots, I would recommend just doing a single ListLogLogPlot[{data1, data2}, ...].
Sep
7
comment How to convert a sparsearray to a graph?
@user19416: Why are you calling AdjacencyMatrix on something that is already a matrix? You need to do AdjacencyGraph[s] to get the adjacency graph.
Sep
7
comment Plot sphere not centered at the origin?
...or use ContourPlot3D.
Sep
5
comment How can I create a Distribution from its probability density function?
"ProbabilityDistribution[$\mathit{pdf}$, {$x$, $x_\min$, $x_\max$}] represents the continuous distribution with PDF $\mathit{pdf}$ in the variable $x$ where the $\mathit{pdf}$ is taken to be zero for $x < x_\min$ and $x > x_\max$."
Sep
5
comment Fitting composed model to experimental data
Wait, equation (2) has arbitrarily large roots for $c_b$, so your model contains massively oscillating terms $c_b\sin(c_b x/L)$? That doesn't sound right.
Sep
5
comment Request: Create a planar graph using Mathematica (at least v9)
It would be nice if whenever PlanarGraphQ returned false, it also provided a subgraph homeomorphic to $K_5$ or $K_{3,3}$ as proof. Oh well. Right now all I can say is that yes, Mathematica cannot draw this as a planar graph because (it claims that) the graph is not planar.
Sep
5
comment ContourPlot is slow and unwieldy and generates a large-data graphic
Does it help if you add Evaluated -> True to the plot, or if you define g[x_, y_] = Simplify[f[x, y]] and plot it instead? (Note, that's =, not :=.)
Sep
4
answered Indirect transformation based on a list of data points