12:41 AM
48

In case you want more flexibility, it's also possible to design your own legends, for example along the lines of this MathGroup post. For your example, the process would start with the function legendMaker. Edited Instead of repeating the same definition as in the above post, I've overhauled l...

20

Edit I updated the definitions of reportColorRange and colorLegend: added more comments in the code, allowed more customization options for the legend. Color gradients are produced by VertexColors for better-looking PDF export; gradients can also be replaced by color bands (using the "ColorSwat...

1:20 AM
@rm-rf Thanks!

6 hours later…
7:45 AM
Has someone tried to link a SPH CFD code to Mathematica (DualSphysics, SPHysics, LIGGGHTS, etc)? I’m really interested on defining / launching SPH simulations from Mathematica. Since there are some opensource codes available, I was wondering if someone has already tried to link them. I’m looking for implementations that allow inlet and outlet boundaries (no need for floating bodies; just a static wall boundary).

6 hours later…
1:37 PM
I break the silence with a puzzle. Where is the difference?: `ListConvolve[ker,list,{1,-1}]` uses maximal overhangs at both beginning and end and `Partition[list,n,d,{-1,1}]` allows maximal overhangs at both beginning and end

1:47 PM
@halirutan Hey
You ask the difference between allows and uses?
Or between ListConvolve and Partition?
I'm not sure if there's a case of Partition where even if "allowing" the maximal overhangs, they are not "used" :P, so my guess is they mean the same thing?
Hi @J.M

Hey, red guy.

Hey green ball

@halirutan Yes, the conventions of both functions look reversed. Tricky. For fun, look at the corresponding settings of `ListCorrelate[]` as well.

@Rojo Nope, why the maximal overhang means `{1,-1}` in one and `{-1,1}` in the other case..
@J.M. So `ListConvolve` and `ListCorrelate` use different definitions.. this is fun.

@halirutan Well, it depends on your definition of definition :P
@halirutan They both use align the first element of the list (second argument) with the element of the kernel defined by your first parameter
but since ListConvolve first has to reverse that kernel
last becomes first
1 becomes -1

5 hours later…
6:49 PM
Is the number of questions running away?

7:07 PM

7:25 PM
@Szabolcs It has been constantly increasing ever since I started this: meta.mathematica.stackexchange.com/posts/614/revisions
Some are hard, some are good, but localized and some are just meh. We can probably organize a small weekend chat event to discuss and attempt to answer unanswered questions.

@all may I run a question with you to see if its worth asking?
I have `lp = LaplaceTransform[ (t - a)/(b - a) UnitStep[t - a] UnitStep[b - t], t, s] ;`
If I do `ip = InverseLaplaceTransform[lp/(s + c) , s, t] // FullSimplify`it works
whereas if I do `ip2 = InverseLaplaceTransform[Simplify[lp]/(s + c) , s, t];` it fails
so in other words simplifying the LaplaceTransform (into a nice compact piecewise answer) makes it unable to InverseLaplaceTransform it back.

7:45 PM
@J.M. what's the equation for your leaf?

@chris I think it involves a flight ticket to either the Netherlands or Colorado

@rm-rf If I pay the ticket I get the equation?

8:53 PM
When copying and pasting code from here, lines breaks get messed up. It seems that on OS X, if I drag and drop text, line breaks stay intact. Very useful!
But almost all system delays in OS X are painfully long/slow for my taste so this was essential: hints.macworld.com/article.php?story=20051121074003638
Hope someone will find this useful.

9:27 PM
0

I finally figured out an answer to a question I posed more than two weeks ago. It's the only answer. Should I accept it? That is, is it good etiquette for a person to accept an own-answer?

10:00 PM
0

What font is used for "Mathematica" in our logo? I thought it might be the italic of the default Mathematica font (Utopia)— —and while it looks similar, the logo font has angled vertical strokes on M, a serif at the top of c, a wider hook at the bottom of t, and a thicker horizontal stroke...