Reputation
22,971
Top tag
Next privilege 25,000 Rep.
Access to site analytics
Badges
4 57 131
Newest
 Good Answer
Impact
~272k people reached

1d
comment How to add a common color legend to a grid of density plots?
@matheorem no, the method is sound, but it doesn't cover the details needed if the function extrema vary from plot to plot. In my defense, the OP's example did not ask for it. But, I can see where it would be useful, as I've had to do it. However, a completely general and automatic treatment might be difficult. Let me think about it.
1d
comment How to add a common color legend to a grid of density plots?
@matheorem right. You have to include ColorFunction -> "LakeColors" for it to work. Plus the second example had the wrong LegendLayout. Both fixed. If you want the default color scheme use "M10DefaultDensityGradient", instead.
1d
revised How to add a common color legend to a grid of density plots?
corrected code
2d
comment Map vs listable
@Szabolcs it comes close, oh so close. {f[1], {f[2], f[3]}, f[4], h[f[x]]}
Apr
15
comment Create table of elements which belongs to specific sets
I'm "vaguely" familiar with that.
Apr
15
comment Create table of elements which belongs to specific sets
You know, if you keep this up, it will force me one step closer to being off the first page of users. Thanks. :)
Apr
13
comment MatrixPlot ignores ColorFunction for 0 matrices
@JasonB I don't, Ilian might.
Apr
13
comment MatrixPlot ignores ColorFunction for 0 matrices
@JasonB I know, shocking! (well at least about it's limitations). Don't feel dumb, this hits many people. It's even more confusing when your working with a $n\times 3$ pencil ...
Apr
13
comment MatrixPlot ignores ColorFunction for 0 matrices
@JasonB easy. The list plots accept data in two forms: array and point-value form. For ListDensityPlot, the point-value form is {{x, y, z} ..} which is exactly what you're sending it with ConstantArray[0, {3, 3}]. And, you're sending it 3 points at the same location, so it really can't do anything sensible.
Apr
11
comment ListDensityPlot3D with discrete user data
That density of points presents some difficulties for the plotting functions. So, I suggest using SmoothKernelDistribution to give your data a functional form, then plot the PDF of it. This will give your computer a chance. :) Also, you might want to use SliceDensityPlot3D with Sphere[] as the slice being plotted on. If you're brave, you might use ListSliceDensityPlot3D on your raw data, but it is likely to have similar difficulties with the amount of data.
Apr
11
revised Finding error in an exponential fit
added 31 characters in body
Apr
11
comment ListDensityPlot3D with discrete user data
Array, in this case, is a list of matrices of the same shape where each entry is the value of your function. The second form is a list of points of the form {x, y, z, f}, e.g. 4-dimensional data. You only have 3 dimensions, so ListDensityPlot3D is inappropriate to use. I would use ListPointPlot3D, instead.
Apr
11
comment What are the default Frame / Axes styles and how can I find them?
@Kay if you notice, the query is not "AxesStyle" or "FrameStyle", but "GraphicsAxes" and "GraphicsFrame". Extrapolating from that, you're looking for "GraphicsFrameTicks", not "FrameTicksStyle", and you get {ScriptLevel -> 1, LineColor -> GrayLevel[0.4]}, in 10.4.
Apr
10
awarded  Good Answer
Apr
8
comment How to assign options to a variable?
@J.M. true. But, the number of functions that do not is decreasing. However, that is a good point, expanded the code.
Apr
8
revised How to assign options to a variable?
flushed out code to consider additional case
Apr
8
revised How to assign options to a variable?
added 157 characters in body
Apr
8
comment How to assign options to a variable?
@Kay you can reset what moreProp is set to. Try moreProp = {GridLines -> Automatic, FrameStyle -> Blue, Frame -> {{True, False}, {False, True}}} and then moreProp = {PlotStyle -> Red} and run newPlot[Sin[x], {x, 0, 10}] after each change. You'll see that it updates the values.
Apr
8
revised How to assign options to a variable?
added 133 characters in body
Apr
8
answered How to assign options to a variable?