Reputation
Next tag badge:
144/100 score
18/20 answers
Badges
2 90 230
Newest
 Nice Answer
Impact
~792k people reached

Jul
26
comment How do you stack 2D graphics into a 3D graphic?
See also the documentation: Display stacked 2D plots
Jul
25
comment How can I solve the 2D Laplace equation with Neumann boundary conditions?
The $n=0$ term is the only one consistent with a constant $x$ derivative at $x=0,L$, but for that term everything is constant and there can be no nonzero derivative at any boundary. I could illustrate the general method, but only for an example that is actually solvable. You would have to edit the question to change the boundary conditions. DSolve is only rarely able to solve PDEs with boundary-conditions - the numerical solvers are able to do that better.
Jul
25
comment Missing tick in plot
@xslittlegrass Thanks for doing that. It's very weird.
Jul
25
comment Missing tick in plot
I see this too in version 10.1 - has it been reported to Wolfram?
Jul
24
comment Axeslabel doesn't work when using Frame and FrameTicks,
Indeed, you're probably right.
Jul
24
comment Axeslabel doesn't work when using Frame and FrameTicks,
Maybe he wanted the labels the other way around, but the general idea works anyway (+1).
Jul
24
comment Is it possible to export equations from Mathematica to Corel with full Latex quality
@Szabolcs Reported the Import bug to Wolfram [CASE:3391590].
Jul
24
comment Is it possible to export equations from Mathematica to Corel with full Latex quality
@Szabolcs Great, thanks, I'll add that to my linked answer! (I checked that the old syntax also still works in 9.16, though). I'll also have to file another bug report for the Import issue, I guess. Although I believe I reported stuff like that a couple of times already. New issues keep popping up...
Jul
24
comment Custom fonts show as boxes when opening Mathematica-made PDFs with Illustrator
Yes, I think I invented that approach many years ago see e.g. here: Use a custom export function. Here is another relevant link. Also, it seems the ImportString approach is broken because Import now can't import PDF properly anymore. So maybe ghostscript as in one of the mentioned links would be a workaround. But it doesn't really answer your question, of course.
Jul
24
comment Custom fonts show as boxes when opening Mathematica-made PDFs with Illustrator
AArrgh - I just tested the linked approach in version 10.1 and see it's now broken, too. I had been using version 8 until now, and it seems I that was lucky for me. For regular text, it still seems to work, but my example with 2D math is no longer exported correctly. I'll have to look into that, I guess. Why??
Jul
24
comment Custom fonts show as boxes when opening Mathematica-made PDFs with Illustrator
My previous comment won't make sense to most people without a reference: here is what it does: it creates outlines for text glyphs. Then you can export the result, and all text is rendered as vector curves in Illustrator. The TextMode option in the linked answer is no longer needed to make it work (but doesn't hurt, either).
Jul
24
comment Custom fonts show as boxes when opening Mathematica-made PDFs with Illustrator
I long ago stopped worrying about font problems and instead always use this: First@ImportString[ExportString[Graphics[Text[Style["text",FontFamily->"Times"]‌​]],"PDF"],"PDF"]. It's not completely fool-proof with exotic Unicode characters, but usually gives me what I want.
Jul
23
comment How can I solve the 2D Laplace equation with Neumann boundary conditions?
Actually, I'm pretty sure that the boundary conditions are simply inconsistent so that there is no solution at all unless b = 0. The reason is that the functions $\cos(n\pi y/H)$ cannot be superimposed to form a constant on the interval $[0,H]$, only on $[0,H/2]$.
Jul
23
comment How can I solve the 2D Laplace equation with Neumann boundary conditions?
@MichaelSeifert Sorry, looks like m_goldberg reverted your change by accident. I think I'll edit the question myself to fix it.
Jul
23
comment How can I solve the 2D Laplace equation with Neumann boundary conditions?
@MichaelSeifert It looks like your edit of the code was the opposite of what you wanted. Anyway, to answer the question we need to know if the goal is to obtain the (exact but infinite) expansion or a numerical result.
Jul
23
comment How can I solve the 2D Laplace equation with Neumann boundary conditions?
@march That's right, the two are related by $y = i t$. But of course that makes a big difference for the kind of boundary conditions we can use.
Jul
23
comment How can I solve the 2D Laplace equation with Neumann boundary conditions?
Is your goal to obtain specifically the series form as you wrote it, and determine the coefficients? Or do you want a purely numerical solution?
Jul
23
comment How can I solve the 2D Laplace equation with Neumann boundary conditions?
The general result for DSolve[LaplaceEqn,u,{x,y}] is indeed correct, because any arbitrary (holomorphic) functions of $x\pm i y$ satisfy the equation. But with boundary conditions, there is no closed form solution, and the series solution is not what you'll get unless you specifically ask for an expansion in terms of eigenfunctions (but that has to be put in by hand).
Jul
23
comment How can I solve the 2D Laplace equation with Neumann boundary conditions?
@march I'm guessing he copied that from the output - so that wasn't an actual error in the input...
Jul
23
comment Formatting Framed - some FrameStyle graphic directives don't work?
@Rolf Mertig Thanks for the edit. Now if only it could also be done with something like f=Function[Null,##]...