Reputation
72,276
Next tag badge:
595/400 score
76/80 answers
Badges
5 179 407
Newest
 Enlightened
Impact
~849k people reached

Jun
27
awarded  Nice Question
Jun
27
comment How to retrieve current FaceForm?
@Kuba Like this :-). I was using tooltips to identify which area was which, but it turns out that sometimes the pointer location is inaccurate. So I needed confirmation to know that I was indeed hovering the area I thought I was hovering.
Jun
27
comment How to retrieve current FaceForm?
@Kuba It's not at all academic. I have a plotting function that plots some sort of "map", with the colours for each map area coming from the user. At some point I found a need to highlight each area on hover, preferably while still keeping the shade of its colour. Having access to the current colour value simplifies the code a lot because I don't need to re-build the whole map from the source data to add highlighting, I can just modify it. In other words, it's not necessary to store the colours separately, they can just be a natural part of the Graphics object.
Jun
27
comment How to retrieve current FaceForm?
And there's also EdgeColor. Excellent! Thank you, this'll simplify my code significantly.
Jun
27
accepted How to retrieve current FaceForm?
Jun
27
comment Von Kármán Vortices
This doesn't seem like a Mathematica question ... it's more like a physics question. Note: it's Kármán, not Kàrmàn.
Jun
27
asked How to retrieve current FaceForm?
Jun
27
comment Ctrl+= does not open a box
@FrançoisHurter So what you tried was Shift-Control-0? Also try just Control-0 and try Control-^ (if ^ is the key just left of backspace). It probably won't work but it's maybe worth a atry.
Jun
26
comment Ctrl+= does not open a box
@FrançoisHurter So did you find the correct shortcut? What was it? And what keyboard layout are you using?
Jun
26
answered Ctrl+= does not open a box
Jun
26
awarded  Good Answer
Jun
25
comment Is ColorDistance symmetric?
@MrWizard I asked someone who researches perception and I was told that these measures are not particularly meaningful for large distances. They're meant for comparing colours that are relatively close. In this case the asymmetry is much less pronounced.
Jun
24
awarded  Nice Question
Jun
24
awarded  Notable Question
Jun
24
awarded  Nice Answer
Jun
24
comment How to Export a mixture distribution to .json file
Start by reading through this: reference.wolfram.com/language/tutorial/PatternsOverview.html You'll need to define a separate function to handle each type of distribution and convert them to the rule form you showed.
Jun
24
revised Is ColorDistance symmetric?
edited body
Jun
24
comment Is ColorDistance symmetric?
@Mr.Wizard That's why I posted it. I thought others would be surprised too and just assume symmetry without checking. It's not a bug BTW.
Jun
24
comment Parallel and non-Parallel functions return different results?
Parallelize[f[1, 2, 3]] will say "f[1,2,3] cannot be parallelized; proceeding with sequential evaluation." That's because Parallelize doesn't know what to do with this, not because it is examining f's definition.
Jun
24
comment Parallel and non-Parallel functions return different results?
@Sosi I don't think it can ever be detected, perhaps in very rare cases with Parallelize. It could be that there were no subkernels available. E.g. LaunchKernels[]; CloseKernels[]; ParallelMap[f, Range[10]] would say No parallel kernels available; proceeding with sequential evaluation.