« first day (57 days earlier)      last day (4436 days later) » 

12:47 AM
0
A: Opening a context menu (with the Menu key)

Philip MayminI tried AutoHotKey with this code and it worked: #IfWinActive, ahk_class NotebookFrame AppsKey::Send {Click right} #IfWinActive

Uhh..is this even mma? Spam for the app?
@halirutan well, the question was because of a desire to purge the site of unsightly \[Greek] and replace it with unicode :)
 
1:01 AM
@yoda, hmm. I have not really a positive opinion about that, since I rarely use greek letters and when posting code, I always use smth like phi. Btw, yesterday I sent Rebecca the stuff.
 
Oh that's cool. Hope they get it in soon :)
 
I can't seem to flag using the reason "other" with a message. I keep getting a message that my message has to be more than 10 characters, even though it clearly is. Probably a IE7 problem. Anway the asker and the editor on this question need to be merged. He says in his edit comment that he is the same guy.
0
Q: Backsubstituting solution into FindRoot

MartinI am trying to solve a system of equations which is dependent to an parameter alpha. So I iterate over alpha via a Table call and try to back substitute the solution found in iteration i into the FindRoot call. My example leads to an infinite recursion. sols = {x->0, y->0} Table[ {sol = Fi...

 
1:56 AM
@OleksandrR I have a question for you: Why do some people write it Aleksandr and some Oleksandr (like you and sasha)? Shouldn't Александр start with an A?
One reasoning I came up with was that the difference was based on whether the person's origin was Ukranian (O) or Russian (A), but I'm not sure if that's right
 
@yoda that's right, it's Ukranian. However, this is not my real name; I just chose it to use on MathGroup for anonymity and because it is (AFAIK) unique (thus searchable), and carried on using it here.
 
@OleksandrR it's ok, I don't care about real names... I don't wield a light saber in real life ;)
 
@yoda I wanted to use a human name rather than a nick for posting on a mailing list. I don't think Rasputinov is an actual surname, though.
 
see, I wish I had the sense to think of that. I can't, even if I tried, establish any online identity with this nick
It's not like I'm a yoda/starwars fanboy either... lol
 
Anyone knows how to make the selection become the button you click when you click it?
 
2:11 AM
Does anyone know how to kill only the front end on a mac and possibly reconnect to the same kernel to access variables?
@Rojo you mean like in a radio button?
 
@yoda I mean, for example, if I wanted a button that makes the cell that contains it selected, Button["Select this cell", SelectionMove[ButtonNotebook[], All, Cell]] wouldn't work
I would like that, as an example, to select the cell of the button
 
sorry, don't know an answer off the top of my head and can't fiddle with my mma either, as my front-end has just exploded
 
Haha
 
blame it all on a missing semicolon
 
Happens
 
2:17 AM
I can't kill the session/force quit as I need the data that's processed so far
 
Probably happens less to WReach because he puts the semicolons at the beginning
 
Wreach is the first person I've seen who does that... i don't know if it's a well known convention though.
 
Same here.. Well, I'm posting it as a question
 
Seems like today is "Here is this fancy picture; How can I create it in mathematica" day
 
@yoda Yes, and the answer is sooo simple: Import["http://i.stack.imgur.com/fozKo.jpg"]
 
2:28 AM
Post it, I'll upvote
Add a Rotate for the moving needle
 
Yes, thats a good idea.
We should introduce a category: Best-worst-most-stupid-answer
 
New gold batch?
badge
 
CHM
@yoda @halirutan @Rojo I can see how it could be challenging for a beginner. (I'm not too sure how I would do it). But he's asking for someone to do it, not for help.
SE is not a rent-a-coder place - and it doesn't look like it either, I wonder why he thought so. Funny
 
@CHM, noone seems to be answering, so we're good
Sadly, noone is answering mine either
Isn't belisarius one of those that appeared everywhere in SO? (I wasn't in SO, I was born here)
 
CHM
2:45 AM
Don't know.
I followed SO for a while, but got "active" here too.
 
@Rojo yeah, he has work crunches of late, hence the decreased (nil) activity
 
@Rojo Yeah, belisarius was the first (maybe second, Leonid may have edged him out) to get a gold Mathematica badge on SO. He's also the only one in contention for a gold Math badge, primarily due to this answer. Produced using mma, of course.
 
1126 upvooooootes
That's a meteor badge he deserves
The rarest martian rock a robot can bring
 
@Rojo at least 700 within 48 hours of posting.
 
2:51 AM
Woooow
I feel so small
 
@yoda I had not realized individual answers could be locked.
 
@rcollyer yup, they can be. The cranky thing is that there is no way to lock every damn thing in the question... locking the question does not lock the answers, and mods have to do them one by one if that's the intent
except if they've slapped a "historical question" banner, in which case everything goes limp
 
@yoda That's sounds like a bug, not a feature.
 
Well, in most cases, only the question needs locking, so the intent is correct. However, a checkbox "lock answers too" would've been nice
In bobince's answer, people were trying to edit it to remove the awesomeness
 
Yeah, I noticed the formatting was fubared, and was wondering.
 
CHM
2:56 AM
Same.
 
....and belisarious answered my question
rius
I'm bad with names
 
ok, I'm off to bed. See u all.
 
Cheerio
 
night.
See you all later, I'm off, too.
 
CHM
bye
 
 
5 hours later…
7:58 AM
@yoda But that requires a lot of manual editing :-( It's too much work. Also, \[Greek] is highlighted in special bold blue, which makes the situation much better.
 
 
1 hour later…
9:13 AM
@MrWizard You showed some trick once to speed up 3D rotation. Can you remind me? It wasn't RotationAction, was it?
 
@Szabolcs I thought it was RotationAction->"Clip" but I could be wrong
 
9:30 AM
Can we think of a better title for this question that will help people with a similar problem find it?
3
Q: n-fold symbolic integral in Mathematica

Ion NechitaI am trying to compute symbolically a n-fold integral (n is a parameter of a function) over, say, the cube [0,a]^n. My code looks like this intCube[n_, a_] := Module[{xvars, range, expression}, xvars = Table[Symbol["x" <> ToString[i]], {i, 1, n}]; range = Table[{xvars[[i]], 0, a}, {i, 1, n...

@Szabolcs The full discussion is here:
6
Q: Slow 3D rotation with antialiasing in Mathematica 7

Mr.Wizard3D surface rotation in Mathematica 7 with anti-aliasing turned off is very fast and smooth. However, turning on anti-aliasing, even at a moderate level, drastically reduces the rendered frame rate, making rotation very choppy. This happens to a much greater degree in Mathematica than it does in...

 
Thanks @Heike and @MrWizard
@MrWizard I was thinking about writing a meta post with links to all the tutorial-style answer that we might commonly want to reference. Just to have a handy list so I don't have to search so much. Like this one: mathematica.stackexchange.com/questions/1959/… The primary reason I want it is to have the list for myself, but I think it can be useful for others too. Do you think it's appropriate to post it?
@MrWizard I'm worried some would take it as an "official" list that we are supposed to reference, or there would be big debates about what to include an what not to include. So maybe it's better to keep it private for personal use.
 
9:56 AM
@Szabolcs Perhaps it would be better to make an index of questions. That way there is not a bias for a particular answer, yet a good answer should still be apparent.
On second thought I'm not sure it would be a problem. I would hate to see it cause contention, but I think the community could manage to select helpful answers. Only if someone edits the list to include theirs, and then someone else deletes it do I see a problem.
I think we would have to let the situation unfold to find out.
 
Eventually I'll post, but I'll make it clear that what I have posted is mostly a personal list of useful questions that I often want to reference.
 
10:30 AM
@Heike I need a "null graphics object", something I can include in a Graphics or Graphics3D but it doesn't display as anything at all, it just gets ignored. Null works sometimes, but not always (especially not with Dynamic things). Do you have any better suggestions? Here's my use case.
@Heike I am really sorry, of course {} will work! Why is that I only find the solution after I tell someone about the problem.... ?
 
All, something definitely changed in the last two days.
It might be a bit hard to tell but there was an uptick in traffic as well as questions.
 
It it, but the only noticeable thing in the graphs is the increase in Q/day. Moving medians are notoriously stable so the Visits/day doesn't say much ... (why couldn't they just use a mean??)
 
It's gone up to 765 in the latest read, after being 750 for a long time.
 
A few hours ago it was only 753 (??) or something like that
I wonder if this is a median of daily averages or shorter averages.
 
It is the median of the past 14 days, but presumably they do it as 14 days from that point in time, not 14 days from the previous UTC day.
 
10:44 AM
I never studied any statistics, so I'm really not good with this.
But I think the result would depend on whether they use a question rate calculated for periods of 1-hour when taking the median or a question rate calculated for periods of 1 day.
(Unlike the mean, which doesn't depend on it)
 
it would make a lot more sense if it was calculated over 14 UTC days and only changed once per day. But clearly that's not how it works.
 
@Szabolcs I was looking at that question too. My solution is pretty similar to yours unfortunately so there's little point in posting now.
 
11:03 AM
@Heike Well, if there are any improvements, feel free to post. Mine has the problem that it keep calculating as the mouse moves even if it is not over the graphic. That's pretty wasteful but I was lazy and didn't want to complicate the code.
 
@Szabolcs I've added an EventHandler that registers mouse clicks.
 
There was another question that complained that assignments with subscripts lead to recursion. Was is closed and deleted? I'd like to mark as duplicate.
Duplicated shouldn't be deleted, I think. They increase the chance of the site being found by google. Just leave them closed.
I am absolutely sure there was a question just like this, and someone posted an anwer showing exactly what happens.
 
11:31 AM
@Szabolcs Helen's answer is pretty good. If there is a true dupe, they should be merged. (I think Helen might be this Helen that you referred)
 
@Szabolcs to which (non-deleted) question are you referring? There are so many new questions today I cannot find it.
 
@Verbeia No, I know the person I referred personally, and she's a novice user :) Also, she would have told me if she started posting.
@MrWizard This one: mathematica.stackexchange.com/questions/3020/… This keeps coming up again and again, and I clearly remember one answer where someone showed (with a screenshot too) why there is a recursion and what happens.
 
@Szabolcs fair enough! So we have a different Helen.
 
There's a regular on MathGroup whose names is also Helen, but I doubt it's the same person.
BTW I think she's the only person I referred whom I know face to face (i.e. not only online). I don't know anyone closely who uses Mathematica extensively.
 
@Szabolcs Thanks, I'll keep an eye out for it. If I have seen another question like that recently it was not as concise.
 
11:40 AM
@MrWizard This is closely related: mathematica.stackexchange.com/questions/1004/… Do you remember when J. M. sugggested a set of canonical question with very well worked out answers that we can mark faq as duplicates of? I think soon we can start doing that.
8
Q: Coping with "abstract duplicates"/"variant questions"

J. M.Taking a page from this meta.math.SE discussion, and in light of this question, I wonder if it would be worthwhile for us to maintain a community wiki post like this one in meta.math.SE that lists questions that a.) are likely to be asked, in ever so different variations, again and again; and b.)...

@Verbeia There is Helen Read on MathGroup, but I doubt it's her because the person who started posting here recently seems to work at DigiArea. See this. It's close to an advertisement, but I think it's an appropriate answer here regardless of that.
 
@Szabolcs Perhaps I should add a comment about avoiding recursion to my answer in that thread. I make a search for questions relating to Subscript but I could not find one that is a duplicate of the first question you referenced.
 
@Szabolcs I did wonder about that answer. We should probably ask her to disclose. But the answer was very thorough and should be welcomed.
 
@Verbeia People often insist that it's appropriate to disclose. But is it really necessary? I think it's a very appropriate answer. The OP asked for differential geometry tools. She showed one and described in detail what it can do and why she considers it to be an excellent choice. There's nothing wrong with that. ... well, it is true that if she works there, she might not be as ready to mention possible disadvantages as an end user. But it's still a useful answer.
Hi @helen
 
(never mind)
 
11:56 AM
@helen We have just been wondering if you work at DigiArea If you do, maybe a one-line note would be appropriate in the answer about differential geometry packages.
@helen And welcome to Mathematica.SE! :-) We're always glad to have new active people here
@MrWizard You deleted before I got the chance to read it ...
 
What is the right way to handle a family of questions like these?
4
Q: Organizing similar datasets using Contexts or otherwise

ArgentoSapiensI often import several long time series to analyze something about a city. When I have multiple cities, I use contexts. As a simple example, Begin["paris`"]; dataRaw=Import["Paris.csv"]; data=Differences[dataRaw]; dataMax=Max[dataRaw]; End[]; Begin["madrid`"]; dataRaw=Import["Madrid.csv"]; data=...

5
Q: is it possible to use Begin[context], End[] inside Manipulate?

Nasser M. AbbasiMay be someone can explain why I can't use Begin[context],End[] inside Manipulate expression, or inside Manipulate Initialization section? When I use it in the Manipulate expression, and close the notebook and restart, I get the error This file contains potentially unsafe dynamic content here...

9
Q: Why doesn't this use of Begin[] work?

SzabolcsIf we evaluate these lines one-by-one, x will be created in the context cc. Begin["cc`"]; x = 1; End[] However, if we evaluate them together, (Begin["cc`"]; x = 1; End[]) then x will be created in Global. This is despite the following printing cc`: (Begin["cc`"]; Print[$Context]; End[]) ...

The last one is the original and still on StackOverflow. Is there anything that should be done besides adding a comment "Related: . . ." ?
 
@Szabolcs Yes, I am working in DigiArea. Initially I put short/one-line answer with a link in the post about differential geometry. But in the comment I was asked to give more descriptive answer. If you think that it is necessary to return the link, I can do that, no problem.
 
@helen No, don't change your answer, the long version is excellent. What seems to be the usual practice is that you either disclose your employer in your user profile, or mention that you work there at the bottom of the answer.
And welcome to Mathematica.SE! (It's nice to have more female regulars.)
 
12:14 PM
@Verbeia does searching for your name on Google images produce your own picture as the second result?
 
@Szabolcs @Verbeia Thank you guys! I did that ;)
 
@MrWizard The Celtic-goddess picture of me, yes ;-) It also finds the "logo" of my website
 
lol -- no, not your handle --- again LOL
 
@MrWizard Yes, the second image. I've no idea who the woman in the first picture is.
Oh right, someone with the same name as me took that picture.
 
So that is you. It's humbling how many accomplished people are here. It's amazing I can contribute at all. :-)
 
12:19 PM
Girl's got to have a hobby. Other people do crosswords. I faff around with Mathematica
 
I can appreciate that. Tried Project Euler yet?
 
@MrWizard You're very kind. I have been working in this field for a long time, worked my way up. The last four years have been very busy and very interesting.
If you go to the web site of my employer, you can even download MP3s of my dulcet tones ;-)
But you can understand that I try to keep at least a bit of separation between here and my real life.
One of these days people will work out that I sometimes answer questions in my lunchbreak.
@MrWizard Oh Project Euler. If I started on that, I would get mired in it. Best not to start.
 
Yes, PE was my "time sink" before StackOverflow. One of these days I shall return to it.
 
Good night, all
 
12:45 PM
@Verbeia I do both actually
 
@Heike Do you do crosswords in English as well?
 
@Szabolcs I try to do the Guardian one occasionally
 
@helen As Verbeia said, it's very good that you gave a detailed description. A link is just a link, but to decide what package to choose, I need to know what they can do. :-)
@Heike I am pretty fluent in English, and use it daily, but word games always remind me how inadequate my English is compared to my Hungarian :-(
 
@Szabolcs Doing them often enough helps. I prefer cryptic crosswords. They focus less on vocabulary and more on logic.
 
1:01 PM
Let me try the latest one from Guardian :-) Let's see how I'll fare ...
What is an "anag"?
 
@Szabolcs Usually the Monday or Tuesday cryptic crosswords in the Guardian are easier than the ones later in the week.
@Szabolcs short for anagram?
 
hmmmm
 
1:24 PM
@MrWizard The comment will also cause the link to show up in the right hand side column ("Linked questions"). But on the other hand comments are supposed to be volatile ... I used to write "related:" comments often
 
@MrWizard and all: I remember this Tim guy from MATLAB on SO and looking at his profile for other accounts, seems to be a help vampire. So please keep in mind and nip things in the bud before it gets out of hand (it's not there yet)
 
1:55 PM
@yoda Noted.
We have had so many good questions and answers in the last day that I have run out of votes for the first time. Now I have to leave an extra pile of tabs open to remind myself to vote.
 
@MrWizard Seriously? You haven't run out of votes before today? I have to call BS, you got the suffrage badge a while ago. But, the next one, VoxPopuli, is actually a little difficult to get because of the way they calculate the voting limit. You have to burn your votes on questions, first, before voting on answers to easily hit the 40 vote mark.
 
not enough people vote regularly
 
That I agree on. Also, as a top voter, I'm getting rather fatigued, so my voting has slowed down in the past several weeks.
 
I find it rather funny how stingy some people are when it comes to voting... but well, that's life :)
 
2:10 PM
At least we don't have those who only downvote here.
 
turn this into C++ tag
 
That'll do it.
 
How can you tell who votes what?
 
not what, but how much
 
Yeah, that R.M guy is leading the pack, while I'm in second. And, most of the high rated users are also up there.
 
2:13 PM
I've been thinking of adding a tag like or something like that to you know, the intro-to-mma questions
that way, if someone comes by with "hai, how do I learn mma, it's so hard", we just point them to it
 
It's not a meta-tag, so I don't see why not.
 
have a better name in mind?
 
Nope.
Maybe: , although that would be advanced functionality. :P
Wow. Over 800 questions! That's nice to see.
Much better than poker.
Hola, @belisarius!
 
Hi rc!
Hi yoda!
 
hi @belisarius!
 
2:20 PM
@belisarius How's the time crunch coming along?
 
did you get the contracT?
 
Damn! I am still fighting for it. I am using my last bullets :)
 
Well that's no fun.
 
Not at all
It's weird, because we already have an agreement about almost everything, EXCEPT about the work that must be done by our counterpart ... and nobody else can do it
and they need the work done
Catch-22 logic
 
I remember those days. I miss them, and not.
 
2:24 PM
Yeah sometimes I miss my salary
 
I was never salaried (although a grad student stipend is like that), but yeah, I understand that.
@yoda speaking of the c++ tag, on my careers.stackoverflow profile it lists me as being in the top 20% of the c++ answerers. That is a very, very scary statistic as I've only answered 27 non-wiki questions with 64 upvotes. If I'm in the top 20%, then I completely understand why the top echelons are going completely crazy with the questions.
 
Well, economy here is the maddest thing outside the asylum, so perhaps a new landscape could appear
 
I thought the US economy was pretty bad, I hadn't thought of how you must be doing down there.
 
@belisarius maybe they should try pegging the currency at par with the dollar again :P
runs away
 
@yoda But run fast
 
2:31 PM
:)
 
@rcollyer crazy in what way?
 
Hi Heike!
 
@Heike way too many noob users to push an inactive fellow like him up to top 20%
 
Hi belisarius
 
@Heike c++ is one of the most trafficked tags on SO, if I'm in the top 20%, it means something is seriously wrong, and likely that is leading to the viciousness that is often seen with questions/answers on that tag.
 
2:35 PM
don't forget the bottomless pit of viciousness that is the Lounge C++ room
 
I've never been in there.
 
But the top 20% are 10^6 users
@yoda You shouldn't enter there without your Magnum
 
@belisarius Are there really 5 million c++ users on SO?
 
No, I think that was sarcasm.
There are a lot of users, though.
 
yep. Sarcasm
 
2:37 PM
you'd think!
 
oh
 
the scary part is it actually might be true
 
let me see
 
well, not yet anyway
 
I'll count them
 
2:37 PM
@yoda only 1 million.
 
I'm too tired to notice the sarcasm signs at the moment.
 
@belisarius Counting them by hand?
 
yep
just wait
 
@rcollyer no, using a For loop in mma
 
@yoda Ah, slow either way.
 
2:40 PM
I count 779934 users in total
 
Well, total number of users on the site (active/inactive/dead) is only 1271809, so less than that.
 
Last night there was some discussion about highly voted answers. While the examples brought up are scary unto themselves, the most interesting results are in this data query: top 500 answerers by avg score. The top rated person has only answered 13 questions!
 
@rcollyer He has only one really high voted answer
@rcollyer The last time I looked up, I had the most voted non-community wiki answer :)
 
You only need one viral answer reach that list.
 
2:47 PM
@belisarius 8 of the 13 are at 10+, and 4 above 50. So, I don't know how you define "highly rated."
 
@Heike yep
 
2120
A: Can a local variable's memory be accessed outside its scope?

Eric Lippert How can it be? Isn't the memory of a local variable inaccessible outside its function? You rent a hotel room. You put a book in the top drawer of the bedside table and go to sleep. You check out the next morning, but "forget" to give back your key. You steal the key! A week later, you retu...

A lot of the C++ folks were pissed about that one because Eric is not a C++ guy
 
@yoda He's not showing up in the query. I wonder why.
 
@yoda That one is very nicely witten
 
HAVING
Count(Posts.Id) > 10
@belisarius yeah, I really loved the analogy
 
2:50 PM
@yoda Ah, missed that, and having only 10 ...
 
But my personal top is Bobince's
 
heh, of course :)
 
now somebody edited it and spoiled it
 
@rcollyer he has an avg score of 123.6
@belisarius nope, it's still there. locked, so it can't be edited
 
@yoda Locked AFTER the edition, I guess
 
2:51 PM
@yoda looking at that now. I dropped the limit to >5 to be more inclusive.
 
@belisarius no, are you sure you're looking at the right one? It hasn't been edited since Feb'11 and before that, jul '10
 
@yoda Let me check
@yoda Sorry, I remembered the original Bobince's post, where the last line was not legible
the edit history is quite funny
there are people lacking humor everywhere
 
For a long time, I couldn't display that answer correctly... the diacritics would just fly about everywhere, and i had to ask for screenshots to appreciate it. It's now fixed though
 
@belisarius There was a lot of locking and unlocking going on
 
@yoda It is a brilliant use of technology in poetry :)
@Heike Yep. a popular question attracts flies
 
3:02 PM
I always thought that someone else had fubared the post, but looking at the edits, it was part of the original rant! :)
 
@rcollyer That was Bobince's idea. Brilliant.
 
Truly was.
 
K̞̙̩͖̱̋͑̋͑̃e̳͉̯̰͇͈e͖̗͙͇̻̪͑̅̽̓̽ͫͬp̞̗̥͌͆̏̎͆͂̆ ͊ͧ̿̊a̬̒͑̉̽ ̻͙Z͕͕̭ͤͩ͗ͪa̭̻̫͇̤̱͌́͑̏̂lg̙̹̦̓͂̾o͍̝͎̻̰̤͛͗̆f͐ͥi̱͎̖̺̬̒e͈̠̜̯ͫͮŕ͕̼̳̠̬̹̻͋̎͗ ̩̙̍̐̾̐͒̈b̆̅̿̚o͎̪͙͇ọ̐̄ͯ̿̎k̟͂͊͐̉m̳̺̦͒̑ͥͣa͖̲̳̪ͮ̉̽̊ͯ̈́̓ȓ̖̜͚̳̗̭͐̾͊͐̊̓k̘͖̘̖̓̒e̬ͬ̔d͉̠ͫ‌​̫̳̗̦͕.̳̭͕̜͚̤͑ͪ̑͂ͧ̈̈́ͅ ͍̞̤̥͈̙̠J̣͙̖̭̺̣͕u̜͓̞͔̿́̂̃̄s̮̮̝̞̪͙̊̍̓t͔̫̫͙̞̙̗ ̙͋i͊n͕͐ ̫̩͐c̄͛́ͫ̋ͯa̼ͬs̻̺̈ͯ̿͂̎̚e͈̭̦̠.̖͈͖̣ͮͩ̎ͤ̅.̠͈̲̝͉ͅ.̜͇͕͎͍͌
 
So, how did you generate that mess?
 
3:06 PM
@rcollyer Not more difficult to read than my last LISP program
2
 
I've never used LISP, but I've been tempted as a friend of mine, one of the better programmers I know, could never could wrap his head around it.
 
It's like chess in a sense. Easy to start with, imposible to master
 
Chess is like math: the more you play, the more you see.
 
@belisarius What would be the board game equivalent of Mathematica?
 
During undergrad, I beat the snot out of an 1800+ rated player, and I could see the structure of what he was doing and how to circumvent it. Now, I couldn't en passant my way out of a paper bag.
@Heike probably Go.
Any way, lunch calls. Later all.
 
3:11 PM
@rcollyer I always felt the other way around. The more I know math the more I realise how much I don't know
2
 
@Heike Not sure. I feel Mma has a very steep learning curve
@Heike Clap!
@Heike I used to prepare my math exams with a friend. (math.nyu.edu/faculty/avellane) working with him was a permanent remainder of how deep you can think on a simple subject
 
3:45 PM
ok, i know this keeps coming up
but, does anyone have a better implimentation of plotlegend?
 
@EliLansey What features do you want?
 
@belisarius like, somthing implimented with Epilog or similar, giving something with ability to combine graphics, etc etc
debating asking the quesiton
because it's sorta open-ended
and preferably faster
 
@EliLansey It's open ended only if you don't specify the features you want
 
@belisarius true. i guess i need to come up with what i really want
 
Yep
 
3:50 PM
i'm sorta hard-coding things a bit
using epilog, and Graphics[]
but it's a huge pain
actuially
just found
those may be sufficient
 
@EliLansey May I suggest posting a question with a few features and then "upgrading" in other questions? If you post a huge list it's harder to find someone with enough time to answer ...
 
@belisarius ok, good idea
 
@EliLansey I have used an energy level diagram, via LevelScheme to create my plot legends in the past.
It took some fiddling with it to get it right, but it is done programatically.
 
@rcollyer i suppose that's another option. but i've found LevelScheme to be annoying (with the exception of the related CustomTicks component)
 
4:12 PM
@EliLansey It has a fairly steep learning curve as it has a different way of evaluating then standard mma. So, I completely understand. But, I agree, CustomTicks needs to be absorbed into the kernel.
 
@belisarius Ha!
wow, i just posted an answer to a nearly year-old SO question
that will never get seen :)
 
Which one
?
 
0
A: What are the standard colors for plots in Mathematica?

Eli LanseyI know this is really late to the game, but the expression used to generate the first n colors in ColorData[1] is: Table[Hue[FractionalPart[0.67 + 2.0 (i - 1)/GoldenRatio], 0.6, 0.6],{i, 1, n}]

 
Great! Where did you get the formula?
 
4:26 PM
@belisarius picking apart the PlotLegends package
 
Ha!
Good one
 
i should have said "Isn't it obvious"?
 
I wonder who came up with that formula
 
yeah, me too
it also means that the colors "drift" over time
val = Table[
   Hue[FractionalPart[0.67 + 2.0 (i - 1)/GoldenRatio], 0.6, 0.6], {i,
    1, 100, 4}];
Graphics@MapIndexed[{#1,
    Rectangle[({0, 0} + {#2[[1]], 0}), {1, 10} + {#2[[1]], 0}]} &,
  val]
 
@EliLansey Just edited my answer there
 
4:36 PM
@belisarius did you see Alexey's comment?
ColorData[1] // InputForm
 
@EliLansey Yes, but there are many ways to do that
 
    ColorDataFunction[1, "Indexed", {1, Infinity, 1}, (ToColor[Hue[N[FractionalPart[0.67 + (2*(#1 - 1))/GoldenRatio]], 0.6, 0.6], RGBColor] & )[
   Floor[#1 - 1, 1] + 1] & ]
 
@EliLansey Nope
Just now
 
@Heike i know. but if you plots lots of things, the "first of the four" gradually transisions to something which looks like the "4th of the four"
and that cycles, too
val = Table[
   Hue[FractionalPart[0.67 + 2.0 (i - 1)/GoldenRatio], 0.6, 0.6], {i,
    1, 2500, 4 18}];
Graphics@MapIndexed[{#1,
    Rectangle[({0, 0} + {#2[[1]], 0}), {1, 10} + {#2[[1]], 0}]} &,
  val]
 
@rcollyer do you really think it's important to explain = vs := yet again ... ? I felt it's necessary to draw attention to it in case the distinction is not absolutely clear to the OP. If he needs more explanation, he should ask. If he doesn't ask, today I just don't feel motivated enough to try to explain.
@rcollyer Of course if my answers are not clear enough, I always appreciate feedback. I',m quite tired these days, so it might easily happen.
 
4:44 PM
@Szabolcs Surely yhis has been discused before, but why not including a faq for newbies ( = , := , [[]] vs [], memoization, etc.)?
 
@Szabolcs The answer is clear. Just HH[kx_] = H /. {μ -> 1, Δ -> .3, L -> 11, ky -> 0} seems a little surprising, at first, and why Set is necessary there. It is your call if you wish to add anything additional, or not. The fact that you pointed it out is useful, by itself. Sufficient? I don't know. I agree, though. If the OP asks, tell him then. I'll remove my comment.
 
@EliLansey I think you would get that with effect with any irrational factor, not just GoldenRatio, although the period would vary.
 
@Heike entirely possible.
if i knew how Hue really worked (i.e. understood the colorspace), this would probably be trivial
 
@belisarius I like this idea:
8
Q: Coping with "abstract duplicates"/"variant questions"

J. M.Taking a page from this meta.math.SE discussion, and in light of this question, I wonder if it would be worthwhile for us to maintain a community wiki post like this one in meta.math.SE that lists questions that a.) are likely to be asked, in ever so different variations, again and again; and b.)...

 
4:57 PM
@Szabolcs Me too!
 
@EliLansey You can transform Hue to RGB colorSpace using ColorConvert
This is what the individual rgb components of Hue[k] look like as a function of k:
 
@Heike interesting
 
If you add Hue or saturation the shape stays the same. The curve just gets rescaled
 
 
2 hours later…
6:54 PM
@Heike 3 questions to go!
 
7:29 PM
Is there anything built-in to partition a bipartite graph?
Am I being stupid not seeing something obivous?
 
7:39 PM
Creating a partition of a bipartite graph into two colors by DepthFirstSearch is fairly easy to implement.
There's also this combinatorica function : reference.wolfram.com/mathematica/Combinatorica/ref/…
 
8:05 PM
@Searke I know it is easy in theory, but it is a mental burden that distracts me from my task and it takes time. And I knew there had to be something. Thanks for the pointer'
Also DepthFirstScan is not a function I am happy to use ... it's not easy or convenient. I'd rather implement the search manually than use it ..
 
 
3 hours later…
11:29 PM
@rcollyer Only 2 now
 

« first day (57 days earlier)      last day (4436 days later) »