I am trying to generate a figure of some genomic data. Basically, I want to show how many times a certain event happens within each one megabase window of each chromosome. The X axis is the chromosomal position (unit is megabases) and the Y axis is chromosome number (1-19, X, Y, M in mouse). For each chromosome, I want a subplot on which I will draw a bar graph. So basically, there will be 22 subplots, each with their own axes, and also X and Y axes for the entire figure.
I know how to do subplots, I just don't know how to get the overall figure
axes. Can anyone help?
I will try to sketch out below with some ascii art what I want in case this
description isn't clear.
| ||||||||||| | | |||| |||| |
1 |--------------------------------------
| |||| || ||||||| |||||
2 |--------------------------------------
|
. |
||||| || | | ||| |||| ||
19 |--------------------------------------
| |||||| | ||| | | ||
X |--------------------------------------
|| ||| |||||
Y |--------------------------------------
| || ||||| |||||
M |--------------------------------------
|
--------------------------------------
0 50 100 150 200
Megabases
Thanks!
--
John Didion
Computational Biology, PhD Student
Fernando Pardo-Manuel de Villena Lab
UNC Chapel Hill
<<attachment: jdidion.vcf>>
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
