20,000 reputation
12767
bio website
location
age
visits member for 2 years, 6 months
seen Jul 28 at 15:08

Jul
10
comment Plot integration curve of a system of ODEs
Please do not include the In[] and Out[] in the code, as it makes it hard to copy/paste as is.
Jul
10
comment Transparency rendering problems in Mathematica 10 (Mac)
it sounds like it I assume as I do not see the result you show on my windows 7 system.
Jul
10
comment Transparency rendering problems in Mathematica 10 (Mac)
I do not get any spots, using V10, windows 7 !Mathematica graphics
Jul
10
comment How to get the new font in Mathematica 10?
fyi, I personally do not like the default style sheet used in V10 and also in V9. I do not like the fonts used in these at all. First thing I do, is switch Default.nb to use Default_8.0.nb instead. I find The old fonts used in Mathematica much better for reading.
Jul
10
comment How to get the new font in Mathematica 10?
WHat does your DefaultStyleDefinitions say in advanced preferences? (ps. I am not sure I understand what you mean by I also deleted my entire Library/Mathematica The default style sheet should use Default.nb
Jul
9
comment How to add texture to solid Graphics3D object such as cylinder?
@Kuba I actually thought about this, but the top/bottom faces will be different, and more important, I am not sure it is efficient, since I am rendering a 3D object (cylinder) in addition to the texture itself. I am trying to see if I can make a circle with same texture and add these to the ParametricPlot3D to build the cylinder manually. If all else fails, will use what you suggested.
Jul
9
comment How to find all data points within closed curve
for getting the points out of the plot, I think Leonid method might be more portable than depending on [[1,1,3,2,1]] indexing as this might change in future versions. As in points = Reap[ParametricPlot[{Sin[u], Sin[2 u]}, {u, 0, 2 Pi}, EvaluationMonitor :> Sow[{Sin[u], Sin[2 u]}]]][[2, 1]]; stackoverflow.com/questions/5364088/…
Jul
8
comment Implicitly differentiate an equation, then solve the resulting equation
what is z? constant? function of x?
Jul
7
comment Im trying to model balls in a box with NDsolve, but the balls keep escaping the box
What I would do is integrating for a small time step, then do the detection of collision outside NDsolve not inside using events, then call NDSolve again for a small time step, and so on. see this demo demonstrations.wolfram.com/…
Jul
7
comment how to make contents of package visible to the autocomplete system?
It should work on OSX then, please report to wolfram@support.com (assuming you restarted everything clean, and rest everything etc.. and it still does not work)
Jul
7
comment how to make contents of package visible to the autocomplete system?
it also works on windows 7, V 9.01 screen shot !Mathematica graphics
Jul
7
comment Switch inside Manipulate controls statement
@m_goldberg But I qualified it by saying "at least I never seen it before." :) I was lazy to actually try it. But I learned something new today about Manipulate.
Jul
7
comment Switch inside Manipulate controls statement
You can't do this. You can't put controls inside Switch, at least I never seen it before. But if you post full code, it will help try it out than spend time to try to recreate it.
Jul
6
comment How to use multiple pure functions correctly?
Just to reinforce the point in the answer below. This shows the two # do not clash when using Function as in data = {1, 2, 3, 4, 5}; intervals = {{0, 1}, {1, 4}, {3, 4}}; Map[Select[data, #] &, (Function[i, IntervalMemberQ[Interval[#], i]] & /@ intervals)] The second # is bounded to the Function and the outer # does not see it.
Jul
6
comment Plotting a multivariable function
Ok, you can try Plot3D[m[x, y], {x, 0, 5}, {y, 0, 5}, PlotRange -> All] and see if this works
Jul
6
comment Plotting a multivariable function
You can't just write Plot3D[m,...] you have to actually call m with the arguments. Try m[x,y]
Jul
5
comment Decimal output from a simple equation
with little less typing "x =0.0000000000000000036`1";
Jul
4
comment ToExpression fails with long nested string expressions
fyi, tried it on V10 at WPC, and it failed there at 351 not 182. Not sure if this makes any difference. !Mathematica graphics
Jul
4
comment How to apply function on list of lists with different sizes
Thanks. May be it was easy, but I just did not see it :) Yes, this does what I want. But feel free to close it if you feel it will not be useful for future visitors. (I overlooked the {2} trick at the end)
Jul
4
comment Evaluating an If expression inside Dynamic
@eldo, you are right. Will correct, thanks.