Szczypawka
Reputation
Next privilege 250 Rep.
7
Impact
~4k people reached

• 0 posts edited

# 52 Actions

 Dec5 comment Optimization with assumptions @gwr Well, the reason why I changed the answer was also that it didn't work in my Mathematica 9.0. Although I perfectly remember it working when I wrote the original answer. Anyway, I am not sure it is an easy task to give an analytical minimization result for the case of several variables dependency, so it would not surprise me much to see it unevaluated... Dec3 comment Optimization with assumptions @gwr You are right, thank you. I have rewritten my answer. Dec3 revised Optimization with assumptions Rewritten the answer following the comment of gwr. Jul29 comment Autocomplete short symbol names in non-global context Thanks for the answer, but could you please provide a working example, because my auto-completion still does not work, when I repeat what you say. Jun13 comment Custom contour labels in ContourPlot That would be a good solution, if it worked for a general function. May14 awarded Popular Question Apr25 answered Solving the Helmholtz equation in polar coordinates Apr25 comment Using NSolve in a function, selecting one indexed result and using it to plot another function containing a function containing the indexed result Can there possibly be a shorter minimal example? It could make the analysis of your code easier. Apr1 comment Image processing: extracting ordered contour A good solution, thank you! Just one more question: do you see a way how to assure that all the contours are passed in the same direction: clockwise or counterclockwise? Apr1 accepted Image processing: extracting ordered contour Mar31 comment Image processing: extracting ordered contour @Szabolcs Agreed. The idea is that you know how the curve goes when you have the original image. And I'm thinking about a way not to lose this information. When you come to the boundary the way it is described, you have already lost it. Mar31 comment Image processing: extracting ordered contour @Szabolcs Indeed, that is a quick solution. Using ListPlot[boundary[[FindCurvePath[boundary][[1]]]], Joined -> True] I get an ordered curve. The question remains about MorphometricComponents[]. Mar31 revised Image processing: extracting ordered contour added 84 characters in body Mar31 asked Image processing: extracting ordered contour Mar31 accepted Plot with plot markers without using ListPlot Mar31 comment Plot with plot markers without using ListPlot Thank you. Choosing this solution as the most natural one, although two others are also good. Mar21 asked Plot with plot markers without using ListPlot Mar3 comment Numerical Differentiation using 1500 data points @DanielLichtblau Yeah, you are write. It seems to be a mathematical artifact of converting from Sin and Cos to Exp and losing physical meaning of frequency. Still, it's a very interesting question, but suprisingly it is not discussed here. Feb24 comment Numerical Differentiation using 1500 data points Nice answer! But could someone explain please, why the "freq" are calculated in two parts? Oct14 comment Filling a curve to a vertical axis Right. Still, you know, even if I put all the comments in one string: RegionPlot[y > ArcCot[x], {x, 0, 1.0}, {y, 0.5, 2}, AxesLabel -> {x, y}, PlotRangePadding -> 0, FrameTicks -> {Automatic, Automatic, None, None}, Frame -> {True, True, False, False}, PlotRange -> {{-0.1, 1.1}, {-0.1, 2.1}}] the plot looses the curve. If you evaluate the string, you will obtain a region with a grey boundary, which is not exactly what I would like to have. I mean like that the initial curve is hidden, which is no surprise if one uses RegionPlot.