Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: Mouse movement speeds up and CityData

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76286] Re: [mg76217] Re: [mg76197] Mouse movement speeds up and CityData
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Sat, 19 May 2007 04:32:42 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200705171012.GAA01478@smc.vnet.net> <200705181003.GAA12687@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

Then these examples on the CityData home page in the Documentation 
Center are still in error!  (I just refreshed the paclet indices from 
the Wolfram server.)

Igor C. Antonio wrote:
> Uncle Paul wrote:
>> Hi,
>>
>> Overall, I am very impressed with mathematica 6.0.  There are a few
>> gotchas for old users.  Watch out for Show[].  It scales to the first
>> plot and will truncate based on order!!!  Still, the plotting is
>> excellent, just use PlotRange->All.
>>
>> First question is why does my mouse slow down when using Mathematica
>> and them speed up later?
>>
>> Second, I can't get the example stuff under ref/CityData to execute.
>> Particularly...
>>
>> ListLogPlot[
>>  Reverse[Sort[
>>      CityData[#, "Population"] & /@ 
>>       CityData[{All, #}]]] & /@ {"Alabama", "Alaska", "Arizona", 
>>    "Arkansas", "California"}]
>>
>> and
>>
>> ListPlot3D[{CityData[#, "Longitude"], CityData[#, "Latitude"], 
>>     CityData[#, "Elevation"]} & /@ CityData[{All, "Colorado"}], 
>>  ColorFunction -> "Topographic", MeshFunctions -> {#3 &}]
>>
>> I have Internet access and it show download progressing.  Is there
>> somewhere we can get the source DVD?  I'd give up 4.7GB to have
>> encyclopedia Mathematica on my computer ;)
>>
>> For those who haven't tried Mathematica.  Now is the time.  It is MUCH
>> better than before.  The inconsistencies are dissapearing.  Very nice
>> job Wolfram and company.
>>
>> Thanks for anyone who can help!
>> Paul
> 
> Paul,
> 
> CityData[{All, "<state>"}] is not.  You need to also specify the country 
> when using All.
> 
> CityData[{All, #, "UnitedStates"}]& /@ {...}
> 
> 
> This works:
> 
> ListPlot3D[{CityData[#, "Longitude"], CityData[#, "Latitude"],
>      CityData[#, "Elevation"]} & /@ CityData[{All, "Colorado", 
> "UnitedStates"}],
>   ColorFunction -> "Topographic", MeshFunctions -> {#3 &}]
> 
> --
> Igor C. Antonio
> Wolfram Research, Inc.
> 
> To email me personally, remove the dash.
> 
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: Integrate[Log[a]+...+O[a]^n,x]
  • Next by Date: Drawing a bounded smooth region with Mathematica
  • Previous by thread: Re: Mouse movement speeds up and CityData Help Doesn't
  • Next by thread: v.6 Editing Stylesheets