Re: Plot backwards
- To: mathgroup at smc.vnet.net
- Subject: [mg40769] Re: [mg40764] Plot backwards
- From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
- Date: Thu, 17 Apr 2003 03:32:42 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
It's not clear to me where exactly you want the y axis to be
positioned, presumably at x=0? Anyway, one method to get what you want
is shown in this example:
Plot[x^2, {x, -10, 0}, Ticks -> {Table[{n, -n}, {n, -10, 0, 1}],
Automatic}]
On Wednesday, April 16, 2003, at 02:38 pm, Gustavo Seabra wrote:
> Hi,
>
> I am Using Mathematica 4.0 for Students. I'm trying to plot a
> function,
> but I need the x axis to decrease to the right, instead of increasing,
> like:
>
> -|----|----|----|----|
> 25 20 15 10 0
>
> I've looked everywhere I could think of. Would anyone hava suggestions?
>
> Thanks,
> Gustavo Seabra.
>
>
>
>
>
Andrzej Kozlowski
Yokohama, Japan
http://www.mimuw.edu.pl/~akoz/
http://platon.c.u-tokyo.ac.jp/andrzej/