@@ -156,8 +156,8 @@ for my $engine (@engines) {
156
156
# Simple line & bin plot
157
157
{
158
158
my @args = PDL::Graphics::Simple::_translate_plot(@$w {qw( held keys) },
159
- with => ' line' , $x10 , $x10sqrt ,
160
- with => ' line' , $x10 , $x10_12 ,
159
+ with => ' line' , style => 0, $x10 , $x10sqrt ,
160
+ with => ' line' , style => 0, $x10 , $x10_12 ,
161
161
with => ' bins' , $x10 , $sin10 ,
162
162
{title => " PDL: $engine engine, line & bin plots" }
163
163
);
@@ -173,11 +173,11 @@ is_deeply \@args, [
173
173
' xrange' => [ 0, 9 ],
174
174
},
175
175
[
176
- { ' key' => undef , ' style' => undef , ' width' => undef , ' with' => ' lines' },
176
+ { ' key' => undef , ' style' => 0 , ' width' => undef , ' with' => ' lines' },
177
177
$x10 , $x10sqrt ,
178
178
],
179
179
[
180
- { ' key' => undef , ' style' => undef , ' width' => undef , ' with' => ' lines' },
180
+ { ' key' => undef , ' style' => 0 , ' width' => undef , ' with' => ' lines' },
181
181
$x10 , $x10_12 ,
182
182
],
183
183
[
@@ -186,9 +186,9 @@ is_deeply \@args, [
186
186
]
187
187
];
188
188
}
189
- eval { $w -> plot(with => ' line' , $x10 , $x10sqrt ,
190
- with => ' line' , $x10 , $x10_12 ,
191
- with => ' bins' , $sin10 ,
189
+ eval { $w -> plot(with => ' line' , style => 0, $x10 , $x10sqrt ,
190
+ with => ' line' , style => 0, $x10 , $x10_12 ,
191
+ with => ' bins' , style => 3, $sin10 ,
192
192
{title => " PDL: $engine engine, line & bin plots" }),
193
193
};
194
194
is($@ , ' ' , " plot succeeded\n " );
@@ -364,8 +364,8 @@ is_deeply \@args, [
364
364
365
365
ask_yn qq{
366
366
Testing $engine engine: You should see in a 3x2 grid:
367
- 1) 2 superposed line plots and a bin plot, with x range from 0 to 9 and
368
- yrange from 0 to 9. The three plots should have different line styles .
367
+ 1) 2 superposed line plots with same style and a bin plot with different,
368
+ with x range from 0 to 9 and yrange from 0 to 9 .
369
369
2) error bars (symmetric relative to each plotted point) and limit bars
370
370
(asymmetric about each plotted point).
371
371
3) a radial 11x11 "target" image and some superimposed "circles".
0 commit comments