Re: Scientific Number Format on Frame
- To: mathgroup at smc.vnet.net
- Subject: [mg116671] Re: Scientific Number Format on Frame
- From: Tomas Garza <tgarza10 at msn.com>
- Date: Wed, 23 Feb 2011 05:25:45 -0500 (EST)
ListLogLinearPlot[data, Frame -> True, FrameTicks -> {Table[{10^-n, ScientificForm[1.*10^(-n), NumberFormat -> (10^#3 &)]}, {n, 6}], Automatic, None}, PlotRange -> {0, 100}]
-Tomas
> Date: Tue, 22 Feb 2011 06:25:13 -0500
> From: l.balzano at gmail.com
> Subject: [mg116648] Scientific Number Format on Frame
> To: mathgroup at smc.vnet.net
>
> Dear all,
> I would like to plot my data with the option Frame->True and use a
> scientific number format for the x-axis.
> This is what I have got:
>
>
> data = {{10^(-6), 72}, {10^(-5), 60}, {10^(-4), 45}, {10^(-3),
> 31}, {10^(-2), 33}, {10^(-1), 32}};
>
> ListLogLinearPlot[data, Frame -> True,
> FrameTicks -> {Table[{10^-n,
> ScientificForm[1.*10^(-n), NumberFormat -> (10^#3 &)]}, {n, 6}],
> Automatic}, PlotRange -> {0, 100}]
>
> However, I would like to have the numbers only on the bottom x-axis. I
> cannot do it without messing up the number format.
> Any help?
>
> Thanks, L
>