[Bio] / WebApplication / WebComponent / Plot.pm Repository:
ViewVC logotype

Diff of /WebApplication/WebComponent/Plot.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1, Fri May 23 16:45:53 2008 UTC revision 1.2, Wed Apr 22 12:34:23 2009 UTC
# Line 109  Line 109 
109        $im->string(gdSmallFont, 30, $height - $y_padding - (15 * $i) - 7, int($max_y / $num_y_scales * $i), $black);        $im->string(gdSmallFont, 30, $height - $y_padding - (15 * $i) - 7, int($max_y / $num_y_scales * $i), $black);
110      }      }
111    }    }
112    $im->stringUp(gdMediumBoldFont, 5, ($height - $y_padding) / 2 + (5 * (length($self->name_y) / 2)), $self->name_y, $black);    $im->stringUp(gdMediumBoldFont, 5, ($height - $y_padding) / 2 + (5 * (length($self->name_x) / 2)), $self->name_x, $black);
113    
114    # x-lines    # x-lines
115    $h = 2;    $h = 2;
# Line 124  Line 124 
124        $im->string(gdSmallFont, $x_padding + (50 * $i), $height - $y_padding + 10, int($max_x / $num_x_scales * $i), $black);        $im->string(gdSmallFont, $x_padding + (50 * $i), $height - $y_padding + 10, int($max_x / $num_x_scales * $i), $black);
125      }      }
126    }    }
127    $im->string(gdMediumBoldFont, $x_padding + (($width - $x_padding) / 2) - ((length($self->name_x) / 2) * 5), $height - $y_padding + 30, $self->name_x, $black);    $im->string(gdMediumBoldFont, $x_padding + (($width - $x_padding) / 2) - ((length($self->name_y) / 2) * 5), $height - $y_padding + 30, $self->name_y, $black);
128    
129    # draw data    # draw data
130    my $color = $colors->[3];    my $color = $colors->[3];

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3