Re: Plot backwards
- To: mathgroup at smc.vnet.net
- Subject: [mg40785] Re: Plot backwards
- From: wself at msubillings.edu (Will Self)
- Date: Thu, 17 Apr 2003 03:35:41 -0400 (EDT)
- References: <b7irc6$juh$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
"Gustavo Seabra" <seabra at ksu.edu> wrote in message news:<b7irc6$juh$1 at smc.vnet.net>... > 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. Hi Gustavo, Plot[(1 - x)^2, {x, 0, 1}, Ticks -> {{{0, 1}, {.2, .8}, {.4, .6}, {.6, .4}, {.8, .2}, {1, 0}}, Automatic}, PlotLabel -> "y=x^2 plotted backwards"]