Reputation
54,845
Next tag badge:
118/100 score
19/20 answers
Badges
2 86 215
Newest
 Good Answer
Impact
~734k people reached

May
4
comment Animated Wave propagation using split operator method
The 2 is added and subtracted only to offset the 3D plots vertically, so you can see them better. You can change the plot to Plot3D[ Abs[\[CapitalPsi]1[x,y,t]]^2+Abs[\[CapitalPsi]2[x,y,t]]^2, ... and that will produce the modulus squared. For more information on the styling, also have a look at the options of the Plot3D command.
May
4
comment Animated Wave propagation using split operator method
The formulation of the problem is incorrect. The matrices are infinite-dimensional either in real or Fourier space and need truncation. You can't get the time evolution of a spinor with position dependence by just using 2D matrix multiplication. The main issue here is unrelated to Mathematica.
May
1
comment DifferentialRoot
As I commented below the answer from which this question is derived, what you're getting is a solution in the form of a function that has to be numerically evaluated. Not every differential equation can be solved in terms of named special functions. Maybe if you make additional assumptions about boundary conditions you could get a simplification, in particular if you put those boundary conditions in to DSolve from the start. But as it stands, there's probably nothing better available within Mathematica. Provide all known assumptions.
May
1
comment Solving differential equation
Yes, my first approach does yield a solution in the form of a DifferentialRoot, which means you have a solution but it can't be expressed in terms of special functions. So you then have a solution for ySolution that can only be evaluated when you give numerical values to the parameters. The integration constants in that DifferentialRoot can in principle also be eliminated by adding two boundary conditions to eqn2, e.g. like this: DSolve[eqn2&&z[1]==1&&z'[1]==1,z[v],v]. The result still needs a numerical value for $\lambda$, though.
Apr
30
comment Arrowhead becomes unattached to line in a Graphics3D Manipulate
Possibly related: Why does Arrow not work well with Scaled coordinates in 3D?. I don't see this issue in version 8, but the work-around in the linked question may be of interest here, too.
Apr
30
comment How do I draw a polygon defined by a list of data points?
Based on the description, it seems the starting point was a binary image. In that case, this could be a duplicate of, or at least closely related to, How to extrude a 3D image from a binary 2D image
Apr
28
comment Can Mathematica produce manipulatable 3D plots for deployment on the web?
WebGL is not an export format but, as the Wikipedia link states, a JavaScript API. You can use it to implement viewers for the export formats that Mathematica supports. There already are many such viewers. E.g. VRML has been around for so long that you can easily find viewers with Google. Then there are solutions based on three.js - but with all those options it's hard to know what kind of answer you're really looking for. Too many options... maybe look into processing.js, it's easy to learn and can load 3D graphics.
Apr
28
comment Animation of double pendulum
@SebastianHenckel That's correct - if you want the movie to run at the actual speed of the motion, you have to play with the fps and duration. If you have a suggestion for how best to do it, I can add it.
Apr
28
comment Multiple windows in Mathematica help
@Kuba OK, I'll try that again - can't do it right now because I want to upgrade to the 10.1 version first...
Apr
28
comment Bad rendering of rotated text in 3D graphics in notebooks
As a possible workaround, you could use label3D from this answer and do: Graphics3D[{label3D["Hello",{-1/2,-1,0},RotationMatrix[5 Degree,{0,-1,0}].{1,0,0},0,FontFamily->"Times"],Sphere[]}]
Apr
28
comment Bad rendering of rotated text in 3D graphics in notebooks
I also see the bad rendering on two different computers with OS X and with versions 8 and 10. Maybe it depends on the graphics card.
Apr
28
comment Control legend size when autoLegend is used with LinTicks
I'm voting to close this question as off-topic because the problem in the final form stated in the comment cannot be reproduced in versions 8 or 10 with LevelScheme installed and autoLegend used as suggested in the comments and linked answer.
Apr
28
comment Control legend size when autoLegend is used with LinTicks
I now checked my suggestion above in version 10, too. It works there as well. So I can't reproduce your issue at all. Maybe it's specific to version 9. However, since I cannot reproduce the problem in version 10, I'm voting to close this as too localized.
Apr
28
comment Control legend size when autoLegend is used with LinTicks
Just to clarify: my suggested solution BaseStyle->{F‌​ontSize->18} does work without problem in Mathematica version 8 for which the autoLegend function was originally written. I tested it together with the CustomTicks package used in the question, too.
Apr
28
comment Control legend size when autoLegend is used with LinTicks
If you're not using version 8 or before, you shouldn't need autoLegend unless you want backward compatibility for some reason. autoLegend was meant to be simple and concise to use, so it doesn't have many options.
Apr
28
comment Control legend size when autoLegend is used with LinTicks
This link will hopefully tell you directly what to do: Font size in PlotLegends, using Table to generate the list in the legend. I guess you want autoLegend[Show[without],{"Reciever w/ 2.28 Sun","System w/ 2.28 Sun"},Background->Directive[None,Opacity[.5]],Alignment->{0.3,0.8},BaseStyle->{F‌​ontSize->18}]
Apr
28
comment Control legend size when autoLegend is used with LinTicks
You can probably just add the option BaseStyle -> Larger to the autoLegend call. There is more information on controlling the dimensions of the legend in my linked post.
Apr
28
comment Control legend size when autoLegend is used with LinTicks
So you're obviously using the code from my answer here. You shouldn't post such things without a link. Also, you're apparently using LevelScheme. It will make it almost impossible for people to reconstruct what you're doing if you don't cite your sources. But I still don't understand the question. Do you have a problem that occurs only when using autoLegend with LinTicks? What version of Mathematica are you using?
Apr
27
comment Using LeviCivitaTensor
@MichaelE2 That's a good point - the documentation is a little confusing on that issue. If one doesn't look carefully, it creates the wrong impression about the order of arguments.
Apr
27
comment Better way to visualize cylinder puzzle solution
@ubpdqn Thanks for the question - it gave me the idea to write a the openCyl function, and I think this may come in handy in other applications as well.