Hello,

I'm new to matplotlib and I hope you can help me out with my question.
When drawing for example a Rectangle() I have to specify it like the
following:
rect = Rectangle((1, 3), 2, 20, facecolor="#aaaaaa")

Where 2 is the length and 20 is the height. (1,3) is for xy.

Imagine a coordination system where x-axis should represent the value 0
to 100. I would like to draw the rectangle from 50 to 60 on x-axis.  So
I would specify:

rect = Rectangle((50, 3), 10, 20, facecolor="#aaaaaa")

But this does not work as desired because at the xtick 50 the x-axis
does not "hold" the value 50 but 5 because I made xticks 1-100 with step
10. So my x-axis "holds" the values 1-10. But I need 1-100.

If anyone knows what Im missing I d be glad to hear about it :-).

thank you

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to