Umlauts (or other 'special' characters) in plots?
Thomas Ilnseher
ilnseher at eit.uni-kl.de
Wed Dec 5 10:38:48 CST 2007
Am Mittwoch, den 05.12.2007, 15:40 +0100 schrieb David Bateman:
> Matthias Brennwald wrote:
> > Dear all
> >
> > Is there a way to print umlauts or other 'special' characters in plots?
> >
> > For example, the following gives poor results (with Octave 2.9.17 and
> > gnuplot 4.2 on Ubuntu 7.10.):
> >
> > --------
> > octave:1> plot(rand(1,10))
> > octave:2> xlabel('Kräuter')
> > octave:3> ylabel('Rüben')
> > --------
I tested it, and it seems that gnuplot expectes iso8859-1 strings.
setting the terminal encoding to iso8859-1 (or -15) helped, although
there are funny effects during typing. I think this Quick-and-Dirty
function might help you:
(attached)
Tom
Thomas Ilnseher <ilnseher at eit.uni-kl.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: myfunc.m
Type: text/x-matlab
Size: 137 bytes
Desc: not available
Url : https://www.cae.wisc.edu/pipermail/help-octave/attachments/20071205/ac669def/attachment-0001.bin
More information about the Help-octave
mailing list