On Wed, Sep 24, 2008 at 8:04 PM, greg7201 <[EMAIL PROTECTED]> wrote:
>
> I am such a matplotlib newbie... but it looks very cool.
>
> I need to create a basic graph, EXCEPT the x axis needs to go down the page,
> and the y axis is across the bottom.  (The chart is to display drilling
> information and the norm for drilling engineers is to display depth - the x
> axis - down the left side of graphs).
>
> Can matplotlib do this?  Just point me in the right direction... I'll figure
> it out.


Starting with the obvious -- x and y are arbitrary, so instead of

   plot (x, y)

you can

  plot(y, x)

If you need the data to be descending (smaller values on top, larger
values on bottom) you can invert the normal ordering with

  ylim(big_value, small_value)

If neither of these is what you are looking for, please elaborate a bit.

JDH

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to