Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4463
| Path | csiph.com!aioe.org!hmGPJc8k7dlfJMaTpz9fSw.user.46.165.242.75.POSTED!not-for-mail |
|---|---|
| From | Martin Brown <'''newspam'''@nonad.co.uk> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Greek Characters in GnuPlot EPS output files |
| Date | Mon, 11 Apr 2022 17:21:50 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <t31kiu$1e5r$1@gioia.aioe.org> (permalink) |
| References | <t2moj1$lek$1@gioia.aioe.org> <t30mda$u1j$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Injection-Info | gioia.aioe.org; logging-data="47291"; posting-host="hmGPJc8k7dlfJMaTpz9fSw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 |
| X-Notice | Filtered by postfilter v. 0.9.2 |
| Content-Language | en-GB |
| Xref | csiph.com comp.graphics.apps.gnuplot:4463 |
Show key headers only | View raw
On 11/04/2022 08:46, Jörg Buchholz wrote:
> On 07.04.2022 15:22, Martin Brown wrote:
>> I'm very much a beginner with Gnuplot and although I can get it to do
>> most things now. But I have struggled totally with getting Greek
>> characters alpha, beta, gamma, delta and pi to render.
>>
>> I need to produce Postscript graph output for publication and it has to
>> work with MNRAS manuscript templates. I can examine the EPS output from
>> enhanced mode and see the following plausible encoding in the text but
>> it still renders as ASCII characters when the LaTex processes it.
>>
>> setrgbcolor
>> 3106 1050 M
>> [ /Symbol reencodeCP1252 def
>> [(Symbol) 140.0 0.0 true true 0 (a)]
>> [(Helvetica) 140.0 0.0 true true 0 (=0.5, )]
>> [(Symbol) 140.0 0.0 true true 0 (g)]
>> [(Helvetica) 140.0 0.0 true true 0 (=0.2)]
>> ]
>
> What termina ldo you use for the output?
>
> set label "{/Symbol a b c d e}" at 0.5,0.5
> set term post enhanced
> set out 'ps-test-greek.ps'
> plot sin(x)
> set out
>
> produce a graph with Greek characters as a Postscript-File. You must
> used the enhanced option for this.
Thanks for your help and the suggested example. I suspect there must be
a font missing somewhere but I don't know where or how to provide it.
I see exactly the same thing rendered with your example as with mine.
It renders without any reported errors and I see 5 faint black line
rectangles where the labels should be starting at (0.0, 0.5). I estimate
the line width of the rectangles to be about 1/3 that of the sine curve.
_
|_|
Possible progress... I tried deliberately setting a mode that I didn't
expect to work "terminal jpeg enhanced" and got the following error msg:
set terminal jpeg enhanced
set out "ps-test.jpg"
plot sin(x)
gdImageStringFT: No character set found while printing string a b c d e
with font Symbol.
In addition Gnupolt crashes fatally when I try to copy that error
message. I'm still stuck and very confused as to what is wrong.
--
Regards,
Martin Brown
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
Greek Characters in GnuPlot EPS output files Martin Brown <'''newspam'''@nonad.co.uk> - 2022-04-07 14:22 +0100
Re: Greek Characters in GnuPlot EPS output files Jörg Buchholz <bookwood4new@freenet.de> - 2022-04-11 09:46 +0200
Re: Greek Characters in GnuPlot EPS output files Martin Brown <'''newspam'''@nonad.co.uk> - 2022-04-11 17:21 +0100
Re: Greek Characters in GnuPlot EPS output files Jörg Buchholz <bookwood4new@freenet.de> - 2022-04-12 07:59 +0200
Re: Greek Characters in GnuPlot EPS output files Martin Brown <'''newspam'''@nonad.co.uk> - 2022-04-12 18:01 +0100
Re: Greek Characters in GnuPlot EPS output files Jörg Buchholz <bookwood4new@freenet.de> - 2022-04-13 07:48 +0200
Re: Greek Characters in GnuPlot EPS output files Martin Brown <'''newspam'''@nonad.co.uk> - 2022-04-13 16:57 +0100
Re: Greek Characters in GnuPlot EPS output files Jörg Buchholz <bookwood4new@freenet.de> - 2022-04-14 13:57 +0200
Re: Greek Characters in GnuPlot EPS output files Martin Brown <'''newspam'''@nonad.co.uk> - 2022-04-16 11:47 +0100
Re: Greek Characters in GnuPlot EPS output files Jörg Buchholz <bookwood4new@freenet.de> - 2022-04-19 06:55 +0200
csiph-web