Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Units with plots?
Posted:
Mar 8, 2013 4:46 PM


Should the new Mathematica 9 functionality of builtin units handling be extended from numerics and symbolics to graphics, too?
For example, whereas the following is allowed with units . . .
Plot[x^2, {x, Quantity[0, "Meters"], Quantity[1, "Meters"]}]
. . . Quantity does not seem to be allowed in expressions such as:
Graphics[Disk[{Quantity[0, "Meters"], Quantity[0, "Meters"]}, Quantity[2, "Meters"]]]
The builtin QuantityMagnitude applied to the arguments can take care of that, but it seems to me that a fully integrated handling of units shouldn't require that  unless, perhaps, the overhead of checking for units as arguments is just too high at present.
(This question was motivated by the post http://mathematica.stackexchange.com/questions/20867/plottingwithunits.)  Murray Eisenberg murrayeisenberg@gmail.com 80 Fearing Street phone 413 5491020 (H) Amherst, MA 010021912



