GD graph labels: degree symbol?

P

parboil

Hi

I'm using GD::Graph quite successfully, but I'm darned if I can get a
label text string like 'Degrees °C'

I use vi to edit everything, but I've no idea whether I need to
"insert" the o-superscript using a special vi keystroke or whether I
need to do a hex(o-superscript) type bit-o-code inside perl.

Any help gratefully received...

Bill
 
A

Anno Siegel

Hi

I'm using GD::Graph quite successfully, but I'm darned if I can get a
label text string like 'Degrees °C'

I use vi to edit everything, but I've no idea whether I need to
"insert" the o-superscript using a special vi keystroke or whether I
need to do a hex(o-superscript) type bit-o-code inside perl.

Whatever works. You want a character that displays as a degree
character in the font GD uses to produce label texts. That may
be the same character that works on your screen or not, so forcing
vi to accept the input (type ^V, then the character, in input mode)
may take you only half of the way.

Anno
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top