Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

An old notebook I've recently started working with has a strange error: Prior to version 8, a figure I generated using Drop[AstronomicalData["Planet"],-1] to display all of the currently recognized planets, along with some other data, worked fine, but in version 8, Neptune is missing. Is this a bug in 8, or am I missing something?

share|improve this question
2  
Sorry if this is rude, but that should not have been difficult to debug. Did you try to examine it at all before posting? –  Mr.Wizard Jan 20 '12 at 19:34
2  
Yes, always. I was even kind of proud for zeroing in on AstronomicalData as the likely offender (my code is pretty wooly), and even turned on "show changes" in the AstronomicalData documentation, but didn't catch it there (it's not called out). –  raxacoricofallapatorius Jan 20 '12 at 19:45
7  
Don't feel bad, everyone (well, almost everyone) has asked a question with an answer that is obvious after the fact. It hurts the ego a little, but it is recoverable. –  rcollyer Jan 20 '12 at 20:11
    
@rcollyer: I think my ego deserves a bit of crushing on this one: after all, I managed to look right at the solution without managing to realize that $-1-1=-2$. –  raxacoricofallapatorius Jan 21 '12 at 4:33
    
Ow. that would sting a little. BTW, I like your pseudonym. –  rcollyer Jan 21 '12 at 4:35
show 1 more comment

2 Answers 2

up vote 14 down vote accepted

AstronomicalData was updated to remove Pluto, so you don't need to anymore.

In[27]:= AstronomicalData["Planet"]

Out[27]= {"Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune"}
share|improve this answer
add comment

It's been demoted to a "dwarf planet", a splendid way of avoiding saying it's not a planet like Jupiter. From the documentation in Mathematica 8:

Sadly demoted Pluto

share|improve this answer
5  
And then you can check out AstronomicalData["DwarfPlanet"]. –  Brett Champion Jan 20 '12 at 20:09
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.