MathGroup Archive 2002

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

Search the Archive

Re: swap x and y axis

  • To: mathgroup at smc.vnet.net
  • Subject: [mg35890] Re: [mg35872] swap x and y axis
  • From: Andrzej Kozlowski <andrzej at platon.c.u-tokyo.ac.jp>
  • Date: Mon, 5 Aug 2002 06:02:24 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Is this the sort of thing you are looking for:

g = Plot[Sin[t], {t, 0, 3Pi/2}]

Show[g /. x_Line :> Map[Reverse, x, {2}]]


??

Andrzej Kozlowski

Toyama International University
JAPAN
http://platon.c.u-tokyo.ac.jp/andrzej/


On Sunday, August 4, 2002, at 07:00  PM, Mihajlo Vanevic wrote:

> Is there any way to swap x and y axis in Plot command??
>
> I tried something like
>
> fja := Display[$Display, #,ImageRotated->True] &
> Plot[Sin[t], {t, 0, 3Pi/2}, DisplayFunction :> fja]
>
> but it doesn't work.
>
> Help!!
>
> Note: I prefer avoiding ListPlot, if possible...
>
>
>
>
>
>
>



  • Prev by Date: RE: swap x and y axis
  • Next by Date: Re: swap x and y axis
  • Previous by thread: RE: swap x and y axis
  • Next by thread: Re: swap x and y axis