MathGroup Archive 2007

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

Search the Archive

Re: Mouse movement speeds up and CityData Help Doesn't


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.



  • Prev by Date: Re: 6.0 not seeing style sheets in $InstallationDirectory/SystemFiles/FrontEnd/StyleSheets
  • Next by Date: Re: Re: Compatibility woes
  • Previous by thread: Mouse movement speeds up and CityData Help Doesn't work?
  • Next by thread: Re: Re: Mouse movement speeds up and CityData