Re: y-axis direction
- To: mathgroup at smc.vnet.net
- Subject: [mg4360] Re: [mg4292] y-axis direction
- From: xah at best.com (Xah Lee)
- Date: Mon, 15 Jul 1996 04:50:59 -0400
- Sender: owner-wri-mathgroup at wolfram.com
At 3:55 AM 96/6/29, Yuk Chai wrote:
>Question:
>
> In ListPlot[....], how can one have the positive y-axis plotted
>downwards instead of the conventional upwards direction i.e.
Easily done by replacing your y-coordinates with opposite sign before
feeding the list to ListPlot. You do that by
ListPlot [ N[myList] /. {x_?AtomQ,y_?AtomQ} -> {x,-y} ]
If your list is one-dimentional, then just do
ListPlot[ -myList ]
Xah
xah at best.com; 74631.731 at compuserve.com
http://www.best.com/~xah/SpecialPlaneCurves_dir/specialPlaneCurves.html
Mountain View, CA, USA
==== [MESSAGE SEPARATOR] ====