[Bioperl-l] scales in xyplot.pm negative values Bio::Graphics for GBrowse

Albert Vilella avilella at gmail.com
Thu Jun 16 05:30:52 EDT 2005


Hi all,

I post this here for suggestions:

How would we like to set the scale or xyplots with respect to
min_value and max_value in cases where negative values exist. For
example:

Ex1: min_value=-1 max_value=5

Set: 0 to the middle of the plot, then plot from +5 to -5:

+5 +
   |
   |
   |
 0 +-----------------------------------------
   |
   |                         
   |                       
-5 +  

Set: the scale to plot from +5 to -1, which will fill up all the
plot (as in UCSC wiggle tracks):

+5 +
   |
   |
   |
   |
   |                         
 0 +-----------------------------------------
   |                       
-1 +  

Comments?

Bests,

    Albert.



More information about the Bioperl-l mailing list