5,894 reputation
11441
bio website
location
age
visits member for 2 years, 5 months
seen 4 hours ago

Jul
6
comment How to avoid plotting lines not defined in a Which function?
Specifically, fa1[x_] := Piecewise[{{1, x >= 15}, {0.55, x >= 10}, {0.1, x >= 5}}, Null] produces the desired plot without having to specify exclusions manually.
Jul
6
comment Finding the maximum of a gradient vector
Nice answer. Any reason why the contour plot is over $[-1,5]\times[-1,5]$ while the streamline plot is only over $[-1,4]\times[-1,4]$?
Jul
6
revised Finding the maximum of a gradient vector
added 14 characters in body
Jul
6
comment To obtain an equation for a given curve
Pretty sure it's not a hyperbolic spiral: i.stack.imgur.com/SIjME.png
Jul
6
comment Getting a function constant values from it's f(x)
Anyhow you don't have enough information to find a unique solution. You have three unknowns $A$, $B$, and $C$, but only two equations $f(-2)=41$ and $f(5)=20$.
Jul
5
revised White regions in DensityPlot — is this a bug with ColorFunctionScaling?
added description of problem into title for future reference
Jul
5
comment How to get the absolute difference between two angles
angleDifference[a_, b_] := With[{d = Mod[a - b, 2 π]}, If[d > π, d - 2 π, d]]
Jul
4
comment How to make the animation rate lower in an exported GIF
This can be found in the documentation under GIF.
Jul
3
awarded  Nice Answer
Jul
3
answered How do I plot a proper streamline plot, including spacings and line endings?
Jul
3
revised Artistic image vectorization
deleted 108 characters in body
Jul
2
awarded  Necromancer
Jul
2
comment Artistic image vectorization
@Mr.Wizard: Thanks! If one chose to draw smaller squares in more detailed areas one could skip the slicing part entirely. :)
Jul
2
answered Artistic image vectorization
Jul
2
awarded  Curious
Jul
2
revised Distribution of 10 points within a unit square
you want to maximize, not minimize
Jun
27
comment Colouring of multiple data sets in DiscretePlot
Possible duplicate: mathematica.stackexchange.com/q/1731/484
Jun
25
comment Fitting points to tilted, off-center ellipse
You said in your comment that "this worked far better than a direct 5 parameter fit" in your experience. Can you elaborate a little on why that might be, or in what cases would this approach work better than the simpler direct fit?
Jun
21
comment How to improve visualisation of trajectories in 3D space
Do you specifically care about the trajectories or just the positions?
Jun
19
comment Drawing pairs (graph, circle packing)
No no, I was just curious if it was the same or whether there was some subtlety that I missed.