Hello, everyone: Since the data set for the graph is too big to be held in one graph horizontally, I am trying to split the data set into two smaller sets, and display in the multiple graphs.
Problem: only first graph is shown. The following is my testing codes. Can anyone help me this question? thanks, The last line is for drawing the second graph My testing codes: my @data = ([split(//,'ATCGATCGTTATGTTCGC')], [90,75,60,43,2,10,12,34,56,78,34,45,87,12,98,100,45,77]); my $sg = GD::Graph::bars->new([EMAIL PROTECTED], 200); $sg->set( x_label => 'Sequence', y_label => 'Confidence', title => '', box_axis => 0, y_max_value => 100, y_min_value => 0, show_values => 1, ) or warn $sg->error; my $si = $sg->plot([EMAIL PROTECTED]) or die $sg->error; print "Content-type: image/png\n\n".$si->png; print $si->png; #try second graph ===== Xiangli Zhang (Justin) 306-310 Decaire Street, Coquitlam BC, Canada, V3K 6X1 phone: 604-9399181 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>