« first day (121 days earlier)      last day (4373 days later) » 

4:21 AM
I just learned about the joys of VertexColors. Now I can produce bandstructures that are color coded by character of the band at that point:
The code is essentially
Graphics[ Line[Transpose[{ xvals, #[[All,1]] }],
VertexColors -> (ColorData["DarkRainbow"] /@ #[[All,2]] ]& /@ bands]
Of course, with extra formatting to make it pretty, but it works! :)
 
 
2 hours later…
6:48 AM
Since no one's around, I'll just surreptitiously show off this thing I was rendering a few hours ago...
 
7:39 AM
@JM Nice!
 
8:29 AM
@JM What are you building? Should we be afraid?
 
@MrWizard Well... :) as I mentioned in my profile, I'm playing around with Mark's old code again. Nothing to be afraid of. *whistles*
@Verbeia Thanks!
(Also, the toroidal spiral in my Gravatar is a product of experimenting with Mark's old code.)
 
 
3 hours later…
11:24 AM
This is pretty cool. Check the images in the third addendum:
24
A: Unwrapping/peeling labels from a cylindrical jar using image processing

nikieHere's my quick&dirty solution. It's a bit similar to @azdahak's answer, but it uses an approximate mapping instead of cylindrical coordinates. On the other hand, there are no manually adjusted control parameters - the mapping coefficients are all determined automatically: The label is brigh...

@yoda Another reddit candidate perhaps?
 
11:57 AM
@Szabolcs Your addenda also makes sense
 
@belisarius I'm writing an answer to this SO question from yesterday now to popularize Mathematica.SE a bit.
Funny coincidence :-)
 
@Szabolcs Is it a coincidence?
 
@belisarius Hmmmm ... are you both working on a jar reader for iOS?
Your locations are different.
 
@Szabolcs Nope, I don't know the guy. And mine isn't really "work" :)
 
 
1 hour later…
1:12 PM
@yoda Actually I was just trying to give the site some more exposure. iOS is a high traffic tag.
 
yeah, I corrected because it seemed (might be unintentional) like you were suggesting against moving it to dsp.se using mma's precedent...
 
@yoda, no, that wasn't my intention. I removed the comment (since there's an answer now instead)
 
I'm flagging for migration... when it gets there, could you just explain the algorithm with tex or words, and just point to mma.se for the code part?
 
@yoda Perhaps @nikie could give a better summary?
 
yeah, I can ask him too... maybe you both could simply give/outline the algo part of your respective answers and link to mma.se
 
1:21 PM
OK. I'd prefer that he do the summary, if he doesn't, I can clean up that SO answer...
It doesn't feel correct to just summarize someone else's answer for a day before, and get rep (though I don't care about rep, really). My motivation for answering was to popularize the site a bit.
 
yeah, no problem :)
 
 
1 hour later…
3:23 PM
It seems to me that it is a bit difficult to make a decent-looking fake column...
 
 
1 hour later…
4:43 PM
@rcollyer nice plot! Here's mine:
It looks alright I think but obviously lacks something without the proper labels for the high-symmetry points. Do you have a good way of getting those, or just work them out for each case as required and do the Ticks manually?
 
R.M
5:01 PM
@JM are you planning on recreating ancient Greece in Mathematica, à la Minecraft?
 
 
2 hours later…
7:12 PM
@OleksandrR nice! what system?
@OleksandrR I work them out manually, but I have a couple of systems set up for use with analytical tight binding that given a sequence of points (i.e. a path in k-space), I can plot it. I used some of the ideas in generating the ticks for my plot. I'll send you them, if you want.
@all, anybody else sign up for the visualization Q&A?
 
 
2 hours later…
9:16 PM
Anyone have any idea why this does not evaluate:NDSolve[{(\[Rho][s]^(5/3) +
5/3 s \[Rho][s]^(2/3) Derivative[1][\[Rho]][s])/
s + \[Rho][s] s == 0, \[Rho][0] == \[Rho]0, \[Rho]'[0] ==
0}, \[Rho][s], {s, 0, 10}]
NM, I think I got it.
 
Hi
Guillochon, are you still here?
 
9:32 PM
Yes, I know what the issue was
It just wasn't enough boundary conditions for the equation as typed, but I had typed the wrong equation... :-)
Actually, now I have a separate question...I'm trying to return a positive root from a quadratic equation, but it's not working
I'm following the instructions from here: goo.gl/d7AZS
My code snippet is this: pastebin.com/W1kDppqA
whoops, ignore the simplify after the clearall
If I just do Solve[smax == 0, s], it returns two solutions
The refining doesn't seem to be working
Even though I've passed an assumption on every variable that should guarantee only the second root is positive
 

« first day (121 days earlier)      last day (4373 days later) »