7,370 reputation
11242
bio website
location Europe
age
visits member for 2 years, 8 months
seen 12 hours ago

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
16
answered Pretty way to group elements at odd and even positions
Mar
12
awarded  Nice Answer
Mar
12
revised How can I compile a ColorFunction with Blend?
deleted 1 characters in body
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
12
answered Coloring Points in a Plot, based on their position in the list
Mar
9
awarded  Yearling
Mar
8
revised Mathematica color schemes for the colorblind
edited body
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
revised Mathematica color schemes for the colorblind
added 81 characters in body
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
8
answered Mathematica color schemes for the colorblind
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
revised Separating positive and negative numbers into two arrays
added 1 characters in body