Re: [Matplotlib-users] creating a blank graph with room for hand written tick labels.

2007-05-02 Thread Jouni K . Seppänen
Ryan Krauss [EMAIL PROTECTED] writes:

 I am writing a final exam and I want my students to sketch a graph of
 something and label the plot themselves.  So, I need to create an axis
 with x and y labels, but with no tick marks.  This I can do, but

 creating blank tick marks seems to get rid of the space where the
 students would write in their own tick marks.  

A quick hack would be to make non-blank tick marks but cause them to
be invisible in another way, e.g. by setting alpha=0 or color='w':

yticks(arange(-5,5.2),['0']*10,alpha=0)
xticks(arange(1,10),['0']*10,alpha=0)

-- 
Jouni K. Seppänen
http://www.iki.fi/jks


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] One title over two subplots

2007-05-02 Thread David D Clark
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I have a figure with four subplots (2x2).  I would like to put a title
centered over the top row.  How do I do this?

Thanks,
Dave
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGOREuNu7GcwGNZSMRApPnAJ4/I8N5uAHzI+/fFWuMtvmQ8OF9XQCdFXvL
0QF/2m3HgyxkGmhGlPtnzKM=
=MYiT
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] One title over two subplots

2007-05-02 Thread Andrew Straw
See pylab.figtext()

David D Clark wrote:
 Hello,

 I have a figure with four subplots (2x2).  I would like to put a title
 centered over the top row.  How do I do this?

 Thanks,
 Dave

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users