The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Units with plots?
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Murray Eisenberg

Posts: 16
Registered: 4/14/10
Units with plots?
Posted: Mar 8, 2013 4:46 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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

Murray Eisenberg
80 Fearing Street phone 413 549-1020 (H)
Amherst, MA 01002-1912

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.