MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: tweaking log plots

  • To: mathgroup at smc.vnet.net
  • Subject: [mg15942] Re: tweaking log plots
  • From: Paul Abbott <paul at physics.uwa.edu.au>
  • Date: Wed, 17 Feb 1999 23:34:06 -0500
  • Organization: University of Western Australia
  • References: <7a2bqi$1u9@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Richard Easther wrote:

> Specifically, the numerical values that appear on the logarithmically
> scaled axes are displayed in the format: 1. \times 10^{-10}  - what I
> want to know is whether it is possible to suppress the "1. \times"
> part, since it adds nothing and leads to the graph itself being
> excessively "scrunched up".
>
> PS For example, see the y-axis on:
> LogListPlot[Table[{i,10^(-i)},{i,1,30}]]

One solution is to generate the y-axis ticks manually, e.g.,

In[1]:= <<Graphics`
In[2]:= LogListPlot[Table[{i, 10^(-i)}, {i, 30}], 
  Ticks -> {Automatic, Table[{10^(-i), DisplayForm[
       SuperscriptBox[10, -i]]}, {i, 1, 30, 6}]}];

Cheers,
	Paul

____________________________________________________________________ 
Paul Abbott                                   Phone: +61-8-9380-2734
Department of Physics                           Fax: +61-8-9380-1014
The University of Western Australia           
Nedlands WA  6907                     mailto:paul at physics.uwa.edu.au 
AUSTRALIA                        http://www.physics.uwa.edu.au/~paul

            God IS a weakly left-handed dice player
____________________________________________________________________


  • Prev by Date: Re: Coupled Diff Eqn
  • Next by Date: Re: Working in Modules
  • Previous by thread: Re: tweaking log plots
  • Next by thread: PlotVectorField Package (easy question?)