       Re: Axis in two scales

• To: mathgroup at smc.vnet.net
• Subject: [mg92600] Re: Axis in two scales
• From: Mark Westwood <markc.westwood at gmail.com>
• Date: Tue, 7 Oct 2008 07:07:02 -0400 (EDT)
• References: <gcchas\$s1q\$1@smc.vnet.net>

```Hi Nacho

You could certainly draw the graphic you want if you spend a lot of
time building it from scratch with graphics primitives -- I suggest
you start by drawing the x-axis you want with Lines.You might be able
to get close to what you want by experimenting with GraphicsGrid.  In
either case you risk creating a graphic with a misleading x - axis, so
don' t forget to put some indication of the break of scale at x ==
0.5.

Or, you could use ListLogLinearPlot[t] and get close to what you are
asking for with no fuss or tricky programming, and get on with your
work.

Regards

Mark Westwood

On Oct 6, 9:13 am, Nacho <ncc1701... at gmail.com> wrote:
> Hello everyone.
>
> I have a dataset in pairs (x,y) that I would like to plot. The main
> problem is that the data set has interesting parts in the beginning
> that I would like to view clearly.
>
> As an example, create the following table:
>
> t = Table[{x, If[x < .5, Sin[100*x], Sin[x]]}, {x, 0, 5, 0.001}];
> ListPlot[t]
>
> You have a very detailed sine in the beginnng and the rest is less
> interesting.
>
> I would like to "split" the X axis in two, so the left half of the
> plot covers x={0,0.5} and the second half x={0.5,5}] in the same plot
> and with the right ticks.
>
> It is like a piecewise axis... is it possible?
>
> Thanks.

```

• Prev by Date: Re: Axis in two scales
• Next by Date: Re: Print A Math Formula In Formatted Notebook
• Previous by thread: Re: Axis in two scales
• Next by thread: Re: Axis in two scales