Re: Labelled ticks at the origin
- To: mathgroup at smc.vnet.net
- Subject: [mg70888] Re: Labelled ticks at the origin
- From: "dimitris" <dimmechan at yahoo.com>
- Date: Mon, 30 Oct 2006 05:33:35 -0500 (EST)
- References: <ei1964$8q0$1@smc.vnet.net>
Also someone should note that
Plot[x, {x, 3, 5}, AxesOrigin -> -0.001*{1, 1},
PlotRange -> {{0, 5}, {0, 5}}]
Plot[x, {x, 3, 5}, PlotRange -> {{-0.001, 5},
{-0.001, 5}}, Frame -> {True, True, False, False}]
produce identical plots
AES wrote:
> Many of us have noted, and even discussed on this group, Mathematica's
> inexplicable -- or is it just obstinate? -- refusal to put labelled Tick
> marks at the origin, even when there's plenty of room for them and no
> interfering axis in the way, or even an explicit request to do so, e.g.
>
> PlotRange->{{0, 1}, {-2.1, 2.1}};
> Ticks->{{0.5, 1.0}, {-2, -1, 0, 1, 2}};
>
> This note is just to put on record a minor gimmick that most Mathematica
> experts probably already know: if you convert the second line to
>
> Ticks->{{0.5, 1.0}, {-2, -1, {0.001,"0"}, 1, 2}};
>
> you'll get just what you want (unless of course Mathematica decides to
> strike back at you in some hidden way elsewhere as punishment for your
> sneaking around its rigid rules and regulations).