MathGroup Archive 1998

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

Search the Archive

Re: Dimensions and Variables


Naum Phleger wrote:

> 1)Why does Dimensions comand return 2 for x*Cos[y]?  I need to check
> dimensions of quantities and this makes it dificult to do.

The Dimensions function in Mathematica yields the structure of
expressions, e.g., for a matrix,

In[1]:= Dimensions[{{a, b}, {c, d}}] Out[1]= {2, 2}

You may find that the Miscellaneous`Units` package (which comes with
Mathematica) is relevant to what you are after.
 
> 3)Does Mathematica Know anything about map projections.  I have a vector
> feild of the sky and I want to plot it in a certin projection.  All I
> have been able to do so far is plot vectors on square euclidian space.

Have a look at Miscellaneous`WorldPlot` (and also Graphics`ComplexMap`).

Cheers,
	Paul 

____________________________________________________________________ 
Paul Abbott                                   Phone: +61-8-9380-2734
Department of Physics                           Fax: +61-8-9380-1014
The University of Western Australia            Nedlands WA  6907       
mailto:paul at physics.uwa.edu.au  AUSTRALIA                       
http://www.physics.uwa.edu.au/~paul

            God IS a weakly left-handed dice player
____________________________________________________________________


  • Prev by Date: Re: Solve Equations over Finite Group
  • Next by Date: Re: Question for using complex variables
  • Previous by thread: Dimensions and Variables
  • Next by thread: variable dependencies