MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: feature request: invert plot axes

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62046] Re: [mg62035] feature request: invert plot axes
  • From: "Jaccard Florian" <Florian.Jaccard at he-arc.ch>
  • Date: Thu, 10 Nov 2005 02:50:28 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com
  • Thread-index: AcXlF7w/FnK0R3mLS2OGjvbfk0q5RQABCKUw

Hello Marcus!

You want to have the x-axis in the left direction, but keep the y-axis in the top-direction?

I would do something like that, and it's not "lots of workaround" if you think about the fact that it wouldn't be possible with concurrent programs:

des = Plot[Log[Abs[x + 3]], {x, -8, 8}]; 

Show[des /. {a_, b_} -> {-a, b}, 
  Ticks -> {(Ticks /. FullOptions[des])[[1]] /. 
     {a_, b_, c_, d_} -> {a, If[b != "", -b, ""]}, 
    (Ticks /. FullOptions[des])[[2]]}]


Regards
 
F.Jaccard


-----Message d'origine-----
De : Marcus Stollsteimer [mailto:marcus314 at yahoo.com] 
Envoyé : mercredi, 9. novembre 2005 11:06
À : mathgroup at smc.vnet.net
Objet : [mg62035] feature request: invert plot axes

Hi group,

it seems that it is not possible to invert the x axis
of a plot in a simple way, so that the function is plotted
from e.g. 1 to -1 (PlotRange->{1,-1} does not work).

Only lots of workarounds.

Am I right?

Regards,
Marcus

-- 
Am I my brother's keeper? Yes. Interestingly, in my case I share
that honor with the Prospect Park Zoo. -- W. Allen


  • Prev by Date: Re: Mathematica 1
  • Next by Date: Re: ((a&&b)||c)==((a||c)&&(b||c))
  • Previous by thread: Re: feature request: invert plot axes
  • Next by thread: Re: feature request: invert plot axes