Reputation
24,341
Next tag badge:
92/100 score
12/20 answers
Badges
5 67 169
Newest
 Revival
Impact
~465k people reached

Oct
28
comment Problem with exporting a plot with a legend to PDF
On 10.1 and 10.3, I don't get any legend at all for this. I'll post a more considered answer this evening, if I get time.
Oct
28
comment How can I plot legends on only some of my curves that all plotted together?
You mean PlotLegends, not PlotLegend.
Oct
28
comment Row-wise matrix multiplication
@Alex: 1/myvector?
Oct
26
comment use of grid to stick different plots
That's great, Ackaran! If that's the case, if you don't mind, I'm going to link your question explicitly to that one. This is called "closing as a duplicate" and is not a criticism or a bad thing. It helps future site visitors find that answer if that's what they are looking for. Thanks for your question! You might notice that the prior question was mine - I had the exact same issue a while ago.
Oct
26
comment use of grid to stick different plots
related: mathematica.stackexchange.com/questions/6877/…\
Oct
19
comment In 10.1.0 BenchmarkPlot doesn't work?
It now fails in 10.3 with a different error: First argument {{16.,{0.124288,<|9->{10000.},11->{20000.},6->{30000.},99->{40000.},57->{50000.}‌​,35->{60000.},88->{70000.},78->{80000.},61->{90000.},93->{100000.},76->{110000.,1‌​20000.},51->{130000.},23->{140000.},44->{150000.},74->{160000.}|>}},{24.,{<<1>>}}‌​,{36.,{0.241031,<|81->{10000.},19->{20000.},<<28>>,25->{360000.}|>}}} in NonlinearModelFit is not a list or a rectangular array. >>
Oct
14
comment Rearrange an algebraic expression so that each variable appears only once
Dear @bariumbitmap - may I suggest that you edit your question rather than post comments if you have additional information?
Oct
13
comment Efficient way to flatten or transpose-arrayreshape tensors
Only alternative I can think of is Join@@@Join@@@Join@@@(Join@@Join@@Join@@list). I am guessing that is not faster.
Oct
13
comment Spacing and dimension of plots in Grid/GraphicsGrid
Also related: mathematica.stackexchange.com/q/6877/8
Oct
13
comment Absurd solution by LinearSolve
What would be wrong with Interpolation?
Oct
13
comment Data points not connecting in joined ListLinePlot
I suspect some non-numeric values interspersed with the numeric ones, which will break the line. See if ListPlot[ Cases[dbf46t1[All, {"Time (hrs)", "RQ1 []"}], _?NumericQ], PlotRange -> All, Joined -> True, Mesh -> All] has the desired result.
Oct
8
comment Fall through multiple cases in switch to execute same function
Thanks Xavier, I completely forgot about Alternatives. I'll amend my answer.
Oct
6
comment Do I have to code each case of this Grid full of plots separately?
@Taiki - MultiPanelGraph is the function; MultiPanel is an option that it then passes to the underlying plotting function (which are custom versions of DateListPlot etc, that take this option) to tell it to do multi-panel specific things like move what was the Title (custom option for defining the PlotLabel) into the plotting area as an Inset text in the Prolog, and depending on the specific option value, which FrameTicks to turn off. Unfortunately the rest of the package is proprietary so I can't share the whole thing.
Oct
6
comment Fixed points of x sin 1/x
@user34624 - it just wasn't clear why you needed to iterate it.
Oct
6
comment Fixed points of x sin 1/x
Welcome to Mathematica.SE! Have you tried Piecewise[{{x Sin [(1/x)], -1 <= x < 0 || 0 < x <= 1}}, 0] ? As you have written it, your definition of f4 contains a syntax error.
Oct
1
comment Will the “for” loop not have an effect on something I'm looping over?
The simple answer is that Append does not rewrite bad; you need AppendTo. But I will follow up with a longer answer (in a couple of hours when it's lunchtime) to suggest a better approach than the loop-and-append approach. Are you by chance a new Mathematica user coming from Matlab or Fortran? I've noticed that people coming from those languages tend to use that approach a lot.
Sep
30
comment Plotting 2-D Electron Density Carbon Atoms
Hi @Rosie - as noted here, if you see here, you will see that subscripted symbols are not plain symbols, so you can’t assign values (strictly speaking, DownValues) to them directly
Sep
30
comment Plotting 2-D Electron Density Carbon Atoms
Thanks @JasonB - I should point out, though, that I'm a girl :-) The physics bit is not my area of expertise, so thank you for the complementary answer.
Sep
30
comment delayed assignment (:=) vs assignment (=) difference example
@Belisarius do you want me to reopen it?
Sep
30
comment Plotting 2-D Electron Density Carbon Atoms
Hi Rosie, and welcome to Mathematica.SE! I hope you will become a regular contributor. Thank you for your complete and well-formatted post. I will post a complete answer shortly, but first, please note that you haven't actually specified functions of x and y, and that Subscript can get you into trouble. I strongly suggest that you have a look at the material here for some ideas. Also, what version are you using? The VectorAnalysis package is obsolete and deprecated.