|
From: | Clinton Winant |
Subject: | Re: printing greek characters |
Date: | Sun, 29 May 2016 13:15:27 -0700 |
On Sat, May 28, 2016 at 6:45 PM, Clinton Winant <address@hidden> wrote:This is more in the way of a query to add the capability than anything else. Sometimes greek characters are a must.produces an eps file w/o the greek character.produces a lovely greek character in the middle of the display, butOctave 4.0,0graphics_tolkit qt or fltk
plot([ 0 1],[0 1],'k');
text(0.5,0.5,'\lambda^2')
print -deps greektest.epsIf you can use gnuplot backend you can do e.g. things like:
octave:1> graphics_toolkit("gnuplot")
octave:2> setenv("GNUTERM", "qt")
octave:3> set(0, 'DefaultAxesFontname', 'Times New Roman')
octave:4> set(0, 'DefaultTextFontname', 'Times New Roman')
octave:5> t=linspace(0,0.99,100);
octave:6> l = 500 ./ sqrt(1-t.^4);
octave:7> plot(t,l)
octave:8> axis([0,1,200,2400]);
octave:9> title ('倫敦穿透深度')
octave:10> ylabel('λ (Å)')
octave:11> xlabel('温度 (T/T_c)')
octave:12> print("l_vs_t.pdf", "-dpdfcairo", "-FTimes New Roman:18")(and get the attached result)
Clinton Winant
_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave
plotgreek.eps
Description: PostScript document
[Prev in Thread] | Current Thread | [Next in Thread] |