Skip to content

Commit

Permalink
demo1 is done
Browse files Browse the repository at this point in the history
  • Loading branch information
azawawi committed May 27, 2017
1 parent 01aa633 commit e52d5bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
.precomp
ex*.png
4 changes: 2 additions & 2 deletions examples/raw/ex02.p6
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ sub draw_windows( Int $nw, Int $cmap0-offset )
plwidth( ($j + 1).Num );
plvpor( $vmin.Num, $vmax.Num, $vmin.Num, $vmax.Num );
plwind( 0.0.Num, 1.0.Num, 0.0.Num, 1.0.Num );
plbox( "bc", 0.0.Num, 0.Num, "bc", 0.0.Num, 0 );
plbox( "bc", 0.0.Num, 0, "bc", 0.0.Num, 0 );
$vmin += 0.1;
$vmax -= 0.1;
}
plwidth( 1.Num );
plptex( 0.5, 0.5, 1.0, 0.0, 0.5, $text );
plptex( 0.5.Num, 0.5.Num, 1.0.Num, 0.0.Num, 0.5.Num, $text );
}
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Graphics/PLplot/Raw.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ sub plwind(num64, num64, num64, num64)
is native(&library)
is export { * }

sub plbox(Str, num64, num64, Str, num64, int32)
sub plbox(Str, num64, int32, Str, num64, int32)
is symbol('c_plbox')
is native(&library)
is export { * }
Expand Down

0 comments on commit e52d5bc

Please sign in to comment.