Re: Eliminating a "Unit"
- To: mathgroup at smc.vnet.net
- Subject: [mg16580] Re: Eliminating a "Unit"
- From: "Peltio" <pelt.ioNOS at PAMiol.it>
- Date: Wed, 17 Mar 1999 23:54:57 -0500
- Organization: Peltio Inc.
- References: <7cld7l$9m7@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Robert B. Love wrote >My problem stems from a function that returns a list of angles with >some built in label like this: > >data={92.123 Degree, 94.444 Degree, ...} > >When I go to graph the data it seems that ListPlot converts it to >Radians. Ideally I would like a way to strip the "Degree" units off >of the list. Alternatively, how do I make ListPlot graph the data the >way I supply it? > Use this trick: data=data/.Degree->1 Hope that helps, Peltio peltioNOS at PAMusa.net -- "Seems a lot of work for a small return. Magic's a lot easier to figure." --