我使用GD::Graph
創建以下圖表。圖表欄過於集中並且不太明顯。設置GD ::圖表尺寸和條形尺寸
我的預期是更多的東西這樣。
我的代碼如下所示:
my $my_graph = GD::Graph::bars->new();
$my_graph->set(
x_label => 'Numbers',
y_label => 'Occurance',
title => 'Plot',
) or warn $my_graph->error;`
哪些設置的情節大小和條大小(水平)?
您可能會發現從我的談話幻燈片「[皮條客我的GD ::圖 - 圖表,不吸,在15個簡單的步驟](http://wellington.pm.org/archive/201002/grant-gd-graph/)「有用。如果不是很明顯,那麼「15個簡單的步驟」就有些尷尬。 –