6,370 reputation
1424
bio website
location
age
visits member for 1 year, 11 months
seen 3 hours ago

3h
comment GUI->Text code conversion
mathematica.stackexchange.com/questions/2202/…
3h
comment Export Plot to formatted data file
some info mactalk.com.au/11/…, but why use this toy if you have mathematica?
3h
comment Overwriting first line of large file
... you might start by loading up the first line with blanks, then when you want to add , rewrite the line keping the length fixed. off hand i'm not certain mma can do that but its worth a try.
3h
comment Overwriting first line of large file
there is no way around rewriting the file. this is not a mathematia isue but a result of the way the os stores the file. id imagine some shell tools will do this faster than mathematica though
19h
answered Zero-order interpolation not going fully around
20h
comment Zero-order interpolation not going fully around
good catch noting the inconsistency in the ListLinePlot and ListInterpolation implementations. Of course both strictly follow what the docs say: "yields a collection of flat regions, with steps at each data point "
1d
comment Zero-order interpolation not going fully around
doesn't extending the plot range to eg 1.001 close it? I'm still at a loss as to why you dont just use the first order interpolation.
Jul
26
comment NSolve for large models
try working with findroot. your question needs a better title by the way (what does Solve have to do with anything?)
Jul
26
comment Zero-order interpolation not going fully around
sorry i cant actually run things here. my thought is the interpolation function is correct and you are seeing an artifact of the way plot handles discontinuous functions
Jul
26
comment Zero-order interpolation not going fully around
on furthe thought i suspect if you Plot[ftdata[t][[1]],{t,0,1}] this will begin to make sense.
Jul
26
comment Zero-order interpolation not going fully around
i dont understand why you get a plot at all. a zero order interpolation of 2d data it seems should give you discrete points (?). what do you get if you plot beyond the range 0-1?
Jul
24
comment What does this code mean
pc is the single argument to the function created by scalingtransform
Jul
23
comment Multiply value if it includes a period
@Phily ImportString is still a good approach vs doing your own parsing.
Jul
21
comment Progress Indicator & sums
that is just plotting all the points. It gets a bit hairy if you want to show only the points in the current recursion.
Jul
21
revised Progress Indicator & sums
added 83 characters in body
Jul
21
answered Progress Indicator & sums
Jul
21
comment Progress Indicator & sums
..you can make this work nice, forgoing the adaptive evaluation, by using MaxRecursion -> 0, PlotPoints -> 200
Jul
21
comment Progress Indicator & sums
Plot adaptively evaluates x in a non sequential order. Without knowing a priori how many evaluations will be needed I see no sensible way to make the progress indicator work
Jul
21
comment Construct a function that can generate a geometry by extruding a section
I agree this is not a duplicate since he seems to want an analytic representation of the solid. Unfortunately I think the answer is simply 'no there is not a straightforward general approach'
Jul
17
comment Detect each polygons in an image
In case you don't realize the fuzziness at the edges is an artifact of jpeg compression. If you have the original to work with you'll have an easier time of it.