Re: Plot backwards
- To: mathgroup at smc.vnet.net
- Subject: [mg40789] Re: Plot backwards
- From: Bill Rowe <listuser at earthlink.net>
- Date: Thu, 17 Apr 2003 03:36:27 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On 4/16/03 at 1:38 AM, seabra at ksu.edu (Gustavo Seabra) wrote: >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 You can do this using the Ticks option. For example Plot[x, {x, 0, 25}, Ticks -> {Transpose[{#, Reverse[#]}] &[Range[0, 25, 5]], Automatic}];