Re: Special characters in the axis label?
- To: mathgroup at smc.vnet.net
- Subject: [mg80741] Re: Special characters in the axis label?
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Thu, 30 Aug 2007 23:43:42 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <fb5olv$92s$1@smc.twtelecom.net>
Krzysztof Lebecki wrote:
> I want to make a plot with cute axis labels. That is easy, if I stick with
> simple function name, like M(i). Publication standards require that both "M"
> and "i" should be italic here, so following code works well:
>
> ListPlot[{1, 2, 3}, PlotStyle -> PointSize[0.04], AxesLabel ->
> TraditionalForm /@ {i, M[i]}];
>
> Now, for comparison, I want a plot of different function with a _prime_
> sign: M'(i). As you can imagine, I have no idea what to do to get it.
<snip>
Wrap the function with the prime sign within *HoldForm* as in
M[x_] := x^2 (* just to define M as a differentiable function *)
ListPlot[{1, 2, 3}, PlotStyle -> PointSize[0.04],
AxesLabel -> TraditionalForm /@ {i, HoldForm@M'[i]}]
Regards,
--
Jean-Marc