Reputation
2,238
Next privilege 2,500 Rep.
Create tag synonyms
Badges
6 25
Newest
 Nice Answer
Impact
~64k people reached

2d
comment Accessing figure style (oldstyle or lining) of TrueType fonts
@MarcoB That's very nice! I was able to reproduce your result with Minion, but for Aller I could only find small caps figures in the private use Unicode range. Another problem with this approach: I don't know how to automatically replace the default numbers with the respective Unicode characters in e.g. Ticks, where the character strings are not directly accessible straight away. Note: AbsoluteOptions is known to be buggy and does not wuite work as expected to extract the Ticks labels.
Jul
28
comment Accessing figure style (oldstyle or lining) of TrueType fonts
I just found out that MaTeX requires Mathematica 10 :-(. Unfortunately, I'm still on version 8. While there is some info on what needs to be done to get MaTeX to work on older versions in this question, I think editing the font files should be less work.
Jul
28
comment Accessing figure style (oldstyle or lining) of TrueType fonts
I want to use it for figures only. I will have a closer look at MaTeX, which at first glance looks very promising. Thanks!
Jul
28
comment Accessing figure style (oldstyle or lining) of TrueType fonts
That's too bad. Then I probably have to resort to creating my own font files.
Oct
23
comment Given f[1] … f[k], k = 1, 2, 3… how do one find the general function f[n]?
@ShutaoTang I quickly scrambled it together in inkscape, but with some effort it could be done more beautifully in LaTeX.
Jul
31
comment Given f[1] … f[k], k = 1, 2, 3… how do one find the general function f[n]?
@Mr.Wizard Thanks for the edit! I knew someone would come up with a more concise way to code it. I'm not surprised it's you! :)
May
8
comment How to create an inverse pole figure color map
Sadly I don't have any further information. At the moment, your visual reproduction is absolutely sufficient, thanks a lot! If I ever find out more about the color map, I'll add that information to the question.
Jun
25
comment FrameStyle in Inset with Framed expression
Thanks! With your solution I finally get the desired output, even in the PDF. It's a shame that there seems to be no simple way for such a simple problem...
Jun
25
comment FrameStyle in Inset with Framed expression
I like the idea of this answer, but I just can't get it to work properly. The thinnest frame I can get is exactly as thick as the one using FrameStyle or BoxFrame (which looks like 1 pt in the resulting PDF).
Jun
21
comment FrameStyle in Inset with Framed expression
Could you provide an example of that?
Jun
4
comment How do I generate a table of data points from a function and add random noise?
This might get you started: foo = Interpolation@Table[{x, RandomReal[{-0.2,0.2}]}, {x, -5, 5, 0.01}]; Plot[ Sin[x] + foo[x], {x, -5, 5}]
Apr
9
comment Composing an image with a plot
@YvesKlett the new version comes with alpha channels. Thanks for the link, btw. It's really useful! :)
Apr
9
comment Composing an image with a plot
@Szabolcs I just read your comment after I did exactly that for my answer. :)
Apr
8
comment Efficiently filling area with disks located at certain points
@rm -rf wouldn't that relocate the disks to form a more tightly packed area? I'd like the disks' positions to be fixed at the starting points, if possible.
Apr
6
comment Transform fancy usage messages in 1D string
@halirutan Please have a look at the updated code. (Vll kann man damit ja mehr anfangen :))
Mar
27
comment How to determine all cases consistent with constraints
(+1)Maybe you could add how to put in the constraint? Or maybe how to generalise this for more variables? Then this could be an even more useful answer.
Mar
22
comment Faster way to convert triangle list to edge list with no duplicates
Yup, I removed the redundant Sort.
Mar
22
comment Faster way to convert triangle list to edge list with no duplicates
btw, looking at your timing results, I should consider buying a new computer :)
Mar
22
comment Faster way to convert triangle list to edge list with no duplicates
Funny. :) It's basically the first approach that I tried. I don't really know a lot about Compile though, so I just left it as it is. And it looks quite nice and clean in my opinion.
Mar
17
comment How to construct pairs in a list?
f[num_Integer] := Union[Partition[#, 2] & /@ Permutations[Range@num], SameTest -> (Sort[Sort /@ #1] == Sort[Sort /@ #2] &)]