reversing axes orientation

Discussion in 'Mathematica' started by Joerg, Mar 11, 2009.

  1. Joerg

    Joerg Guest


    is there a simple way to reverse the orientation
    of the axes of a plot, e.g. in Plot[x, {x, 1, 0}]
    really plot from 1 to 0 (from left to right)?


    Joerg, Mar 11, 2009
    1. Advertisements

  2. Hi J=F6rg,

    No simple setting like AxisDirections or so that I know of. You can
    fake it using Ticks. Example:

    f[x_] := x^3 + 1
    start = -1;
    end = 2;
    tickDistance = 0.5;

    f[Rescale[x, {start, end}, {end, start}]],
    {x, start, end},
    Ticks -> {
    Table[{x, Rescale[x, {start, end}, {end, start}]}, {x, start, end,

    Cheers -- Sjoerd
    Sjoerd C. de Vries, Mar 12, 2009
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.