Sorry to interrupt the flow of excellent help
zentara is providing, but altho' I can't be of much assistance WRT your question (graphics isn't my 'bag' either), I'm guessing it would be more help to those who can [assist you], if you were to identify at least the OS/platform & perl version (
perl -V) that you are using ... or indeed, intend, to use to acheive your goal.
A user level that continues to overstate my experience :-))