6,502 reputation
1934
bio website
location Europe
age
visits member for 1 year, 2 months
seen 16 hours ago
stats profile views 202

Mar
20
comment X-Y scatter plot with coloring dependent on Z value
Similar question: mathematica.stackexchange.com/q/21130/685
Mar
19
comment How can I define a Step-Wise function in Mathematica (Not using Heaviside Step Function)?
Indeed, that's how you can use it.
Mar
19
comment How can I define a Step-Wise function in Mathematica (Not using Heaviside Step Function)?
Take a look at Piecewise.
Mar
19
comment Exporting large numbers to a text file
You can use NumberForm with the option ExponentFunction: NumberForm[123456.789, {20, 3}, ExponentFunction -> (Null &)]
Mar
18
comment How can I invert the colors in a color bar
Try replacing colorbar[valrange, cf] with colorbar[valrange, ColorData[cf][1 - #] &] at the end of your example.
Mar
16
comment Pretty way to group elements at odd and even positions
@Mr.Wizard Ha, I've just seen now that in the docs for Span it says m[[i;;j;;k]] is equivalent to Take[m,{i,j,k}]. Well, let's say that mine is more readable for novice users.
Mar
12
comment Coloring Points in a Plot, based on their position in the list
Maybe it is worth pregenerating all the solutions of your ODE and use those in your Manipulate function. Take a look also at Mr.Wizard's solution to speed up rendering of ListPolarPlot.
Mar
12
comment Coloring Points in a Plot, based on their position in the list
@Mr.Wizard I fully agree with your comment and I support solutions based on Graphics primitives. Since the question was based on a ListPolarPlot I gave a solution that holds for this function.
Mar
12
comment Coloring Points in a Plot, based on their position in the list
BTW, instead of typing Transpose[position][[1]] you can get the same result with position[[All, 1]].
Mar
8
comment Mathematica color schemes for the colorblind
@m_goldberg What I meant is that the point of a color scheme for people with color-impaired vision is to distinguish the colors of the octagons, not to read the text. I've added another version of the same picture, maybe it helps.
Mar
8
comment Mathematica color schemes for the colorblind
@jenson I fully agree, data should be distinguished by colors, symbols and line styles to be always easily readable.
Mar
8
comment Mathematica color schemes for the colorblind
@m_goldberg An answer to your first question: the pictures above are not the Mathematica default color scheme, they are taken from the docs they I linked in my answer.
Mar
8
comment Mathematica color schemes for the colorblind
@jenson The choice of colors is described in section 6 of the linked pdf. See also the new picture added to my answer.
Mar
8
comment Mathematica color schemes for the colorblind
@m_goldberg As long as you can distinguish the colors of the octagons, you're fine. The black text inside the lower left octagon is barely readable because of the small difference in contrast.
Mar
7
comment Separating positive and negative numbers into two arrays
@belisarius Yep, in this form it works only under the assumption that the list c contains both positive and negative numbers.
Mar
7
comment Placing bar chart labels on the upper and lower frame axes
Please, see update.
Mar
4
comment Strange behavior of PlotMarkers with ListLinePlot[] and InterpolationOrder->0
Literally from the documentation for Mesh: Full mesh divisions between regular data points.
Feb
26
comment Extract data from plots in papers including error bars
Take a look at this: mathematica.stackexchange.com/q/3831/685
Feb
25
comment Subtract more than one array using DeleteCases
Or, DeleteCases[ar, Alternatives @@ Union[ar1, ar2]].
Feb
22
comment How to add a common color legend to a grid of density plots?
I don't have Mathematica 9 to test it, but shouldn't this also work? GraphicsGrid[{{plots[[1]], plots[[2]]}, {plots[[3]], plots[[4]]}, {legend, SpanFromLeft}}, Alignment -> Center, ImageSize -> 300]