Wolfram Language & System 10.3 (2015)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

TargetUnits

TargetUnits
is an option used to specify the desired output units for visualization functions operating on Quantity expressions.

DetailsDetails

  • The following settings can be used:
  • unitunits for y in 2D or z in 3D
    {unitx,unity}units for x and y
    {unitx,unity,unitz}units for x, y, and z
    Automaticunits based on variables specified to Plot etc.
  • TargetUnits specifications should be a KnownUnit or Quantity.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

TargetUnits can be used to specify which units to use in the visualization:

In[1]:=
Click for copyable input
Out[1]=

TargetUnits can also be used to specify units for purely numerical data:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2012
(9.0)