--- loncom/xml/lonplot.pm 2008/11/24 17:17:52 1.149 +++ loncom/xml/lonplot.pm 2009/01/30 03:20:10 1.151 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Dynamic plot # -# $Id: lonplot.pm,v 1.149 2008/11/24 17:17:52 jms Exp $ +# $Id: lonplot.pm,v 1.151 2009/01/30 03:20:10 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -503,7 +503,7 @@ my %axis_defaults = yformat => { default => 'on', test => sub {$_[0]=~/^(on|off|\d+(f|F|e|E))$/}, - description => 'X-axis number formatting', + description => 'Y-axis number formatting', edit_type => 'choice', choices => ['on', 'off', '2e', '2f'], }, @@ -1440,7 +1440,7 @@ sub start_data { } # complain if the number of data points is not the same as # in previous sets of data. - if (($curves[-1]->{'data'}) && ($#data != $#{@{$curves[-1]->{'data'}->[0]}})){ + if (($curves[-1]->{'data'}) && ($#data != $#{$curves[-1]->{'data'}->[0]})){ &Apache::lonxml::warning ('Number of data points is not consistent with previous '. 'number of data points');