"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

Reply via email to