|
From: | Weipeng He |
Subject: | Re: How to add non-English characters to figures |
Date: | Mon, 05 Dec 2011 22:57:57 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:7.0) Gecko/20110927 Thunderbird/7.0 |
于 2011年12月05日 15:24, Juan Pablo Carbajal 写道:
2011/12/5 Weipeng He <address@hidden>:I want to add a Chinese title or other labels to a figure. Commands are like title("标题“) text(0,0,"标签”) However, I get only garbled characters on the figure with the following warning warning: ft_render: skipping missing glyph for character `�' Is there any solution I can get it work? Thanks~ Some additional information: Octave Version is 3.4.3 graphics_toolkit is gnu-plot System is Fedora 15 _______________________________________________ Help-octave mailing list address@hidden https://mailman.cae.wisc.edu/listinfo/help-octaveIf it is only a few figures you could produce an SVG output and add the labels with Inkscape, manually. Otherwise you could try to use psfrag in Latex and replace placeholder labels like "LabelX", "Title", "LabelY" with your characters. Thanks for your suggestion. However, I want put some (maybe more than 20) text labels beside the specified points on the figure. (Using function text). Maybe it is not doable to add these labels manually. I am wondering whether there is some problem with my font manager or encoding. Or nobody can get it work in Octave? Someone has encountered the same problem(please refer to http://octave.1599824.n4.nabble.com/Graphic-accents-and-plot-command-in-octave-3-3-53-td3032491.html). As said in that post, he can get it work in Octave 3.2.4, while it doesn't work in Octave 3.3.53. |
[Prev in Thread] | Current Thread | [Next in Thread] |