PDLPorters / PDL-Graphics-Gnuplot

Gnuplot-based plotting backend for PDL
https://p3rl.org/PDL::Graphics::Gnuplot
Other
8 stars 7 forks source link

m*tics problems #15

Closed drzowie closed 11 years ago

drzowie commented 11 years ago

$x=sequence(10); $y=$x_$x; $POs = {ytics=>{scale=>3,mirror=>0},y2tics=>{border=>1},mytics=>{out=>1}} $w->plot($POs, {with=>'points'}, $x, $y, {axis=>x1y2}, $x, $y_10,{with=>'lines',axes=>x1y1},$x,10*ones($y))

PDL::Graphics::Gnuplot: ERROR: the gnupot backend issued an error:

gnuplot> set mytics HASH(0x100b93ae8)

Oops

drzowie commented 11 years ago

Fixed in git. Changed parameter type from "l" to "lt" for m*tics fields.