3,007 reputation
1416
bio website
location
age
visits member for 1 year, 1 month
seen 40 mins ago
stats profile views 92

3h
comment A simple StringCases problem
probably .. is stronger precedence than ~~ so you're asking for repeated ")" (if you FullForm you can see this). also look into Logest/Shortest
6h
comment Function returning Null along with other unexpected expressions
@Mr.Wizard might literally take me a couple weeks, but will do
May
18
comment Finding areas of beings in microscopic image
@nikie you know, i'd pay good money for an image processing book if you wrote it :)
May
13
comment How can I give graph required data with GUI?
@Alex I was thinking about something along those lines. I'll play around with things but I don't know if I will have enough time to actually write anything complete. It might take me a week or two. :)
May
12
comment Can one identify the design patterns of Mathematica?
the fact that there are terms for what is the parameterization of any of the $a,\space b,\space c$ in a[b, c] i think shows just how far behind programming languages are in general
May
12
comment No anti-aliasing on BarChart3D?
@user7409 From the documentation, it looks like Antialiasing is a Style option, not a BarChart3D option, so you have to wrap the bar chart in a Style.
May
10
comment How can I create a 3D FilledCurve object?
this is my approach, since it works for a lot of different kinds of stuff you could make. some functions to keep in mind for this sort of thing: Rescale, Position.
May
9
comment another way to do this mapping of a two argument function
@johnpeter also keep in mind that all the operators in mathematica have a FullForm representation (even operators you might not expect would have such a thing), and that you can just do, for example, Power @@@ {{1, 2}, {2, 2}, {3, 2}}. Try FullForm[HoldForm[out = #1^#2 & @@@ {{1, 2}, {2, 2}, {3, 2}}]] to see what I'm talking about.
May
9
comment Using the Mathematica front-end efficiently for editing notebooks
@rm-rf not sure if you're aware of this, but if you press Ctrl+. enough times you will select the cell, then the cell group, then the whole notebook. This is on Windows at least. Knowing Wolfram Research, I'm surprised you can't subsequently select the whole mathematica program itself, then the OS, your computer, the objects in your room, your room, your house, etc.
May
8
comment Drawing Cylindrical Segment with Graphics3D
remember there is also CapForm
May
6
comment Sync Animated Plots
Yea, I usually use just Column/Row or even a simple List.
May
6
comment How to convert the symbol $d$ in Integrate into $\mathrm{d}$?
@luyuwuli d'oh! fixed
May
6
comment Take screenshot of the entire desktop using Mathematica
So many uses. Look: Needs["GUIKit`"] Dynamic[out] FixedPoint[(Pause[1]; out = GUIScreenShot[]) &, 0]
May
6
comment What does “# & /@” do?
user17338, the F1 key will help you a lot. You can click on those symbols inside Mathematica and press F1, and you will see their documentation. you might not understand everything from just the documentation, but it is a very good start and it has a lot of examples.
May
5
comment How can I make a cell that contains an image which can be shifted?
i noticed that if you hold Ctrl, a crosshairs appears and you can shoot tiny bullet holes into the cell (they look like points, but i know bullet holes when i see them). and if you right-click copy and paste, you get the {x,y} coordinates of the bullet holes. it looks like some internal EventHandler construction that dynamically updates the ImageMargins. not hard to do yourself if that's all you're after. e.g. Graphics[Disk[], ImageSize -> {50, 50}, ImageMargins -> {Dynamic[MousePosition["CellContentsAbsolute"]] - 25, {0, 0}}].
May
3
comment Is it possible to selectively save the calculated values (array) at memory?
Regarding the memory issue, take a look at Memory Management
May
3
comment How to track dynamically generated manipulators?
@m_goldberg That's good, I'll add it. I was tryng to keep the examples "minimally general". Funnily, it wouldn't have occured to me to apply Sequence that way.
May
1
comment Why does this simple program leak memory?
What Mathematica version are you using? I know from my own experience doing this exact sort of thing (exporting images) that there is an inexplicable memory issue in my version 8 which didn't occur at all in my V9 trial from the same exact copy-pasted code.
May
1
comment Why does this simple program leak memory?
Have you tried using ParallelDo rather than ParallelMap? I know it shouldn't make a difference, but some of these things are more involved than they seem. Also try just plain Do. Maybe your system is launching like, infinity kernels all of which are running 100 computations, so you may need to specify things like Method -> "EvaluationsPerKernel" -> 1
Apr
30
comment Raster with ColorFunction is blank when Dynamic Updating is disabled
it looks like the various Method options ("CoarsestGrained", "EvaluationsPerKernel", etc) have an affect on which plots turn out blank, but they still turn out blank.