Re: Mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg13831] Re: Mathematica
- From: "Allan Hayes" <hay at haystack.demon.cc.uk>
- Date: Sat, 29 Aug 1998 04:41:10 -0400
- References: <6s5na5$ce7@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Ryan Taylor wrote in message <6s5na5$ce7 at smc.vnet.net>...
>I am using mathematica for the first time in order to plot PV diagrams
>for a chemistry class. I was wondering if there is any way that I can
>label the x and y axis on a graph. For example, "pressure" and
>"volume." I would greatly appreciate any assistance you could provide
>on this matter.
> Thank You,
> Justin Munn
> MJMUNN at Clemson.edu
>
Justin:
You can use the option AxesLabel.
For example
Plot[x,{x,0,3} , AxesLabel-> {"pressure","volume"}]
It works with other 2D graphics.
Similarly
Plot3D[x y,{x,0,3} ,{y,0,2}, AxesLabel-> {"pressure","volume",
"temperature"}]
-------------------------------------------------------------
Allan Hayes
Training and Consulting
Leicester UK
http://www.haystack.demon.co.uk
hay at haystack.demon.co.uk
voice: +44 (0)116 271 4198
fax: +44(0)116 271 8642