Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #13782
| From | Murray Eisenberg <murrayeisenberg@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Units with plots? |
| Date | 2013-03-08 21:46 +0000 |
| Message-ID | <khdm7m$f0r$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
Should the new Mathematica 9 functionality of built-in 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 built-in 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/plotting-with-units.)
---
Murray Eisenberg murrayeisenberg@gmail.com
80 Fearing Street phone 413 549-1020 (H)
Amherst, MA 01002-1912
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Units with plots? Murray Eisenberg <murrayeisenberg@gmail.com> - 2013-03-08 21:46 +0000
csiph-web