Re: LogLogPlot trouble

• To: mathgroup at smc.vnet.net
• Subject: [mg22191] Re: [mg22140] LogLogPlot trouble
• From: BobHanlon at aol.com
• Date: Thu, 17 Feb 2000 01:24:28 -0500 (EST)
• Sender: owner-wri-mathgroup at wolfram.com

```Needs["Graphics`Graphics`"]

LogLogPlot[x^2, {x, 0, 5}, Frame -> True];

xticks = Flatten[
Table[{k*10^n, If[MemberQ[{1, 2, 5}, k], k*10^n, ""]}, {n, -1,
0}, {k, 1, 9}], 1] /. x_Rational :> N[x];

yticks = Flatten[
Table[{k*10^n, If[MemberQ[{1, 5}, k], k*10^n, ""]}, {n, -2, 1}, {k,
1, 9}], 1] /. x_Rational :> N[x];

LogLogPlot[x^2, {x, 0, 5}, Frame -> True, FrameTicks -> {xticks, yticks}];

Bob Hanlon

In a message dated 2/16/2000 4:15:04 AM, attico at peg2.difi.unipi.it writes:

>I've a very basic problem with the procedure
>LogLogPlot. The problem is that:
>I normally include the procedure with
>
>In[1]:=<<Graphics`Graphics`
>
>and this works fine. The problem is that I need
>to do a framed plot, so I type (for example):
>
>In[2]:=LogLogPlot[x^2,{x,0,5},Frame->True]
>
>So, Mathematica draws the plot and put the numbers
>on the axes (0.1, 0.01, 0.001 and so on, what is the
>"official" name?) both on the right and on the left,
>on the top and on the bottom. Now, this is a problem
>for me because I need a figure with these numbers
>also on the left and on the bottom (for publishing).
>
>There is some way to overwrite this behaviour of
>LogLogPlot, that is not the same of Plot (when
>"framed", Plot put numbers also where I would like
>them).
>

```

• Prev by Date: Re: shell commands in notebooks
• Next by Date: Re: Re: Simple Problem (I suppose...)
• Previous by thread: LogLogPlot trouble
• Next by thread: Re: LogLogPlot trouble