|
From: Jon <dev...@gm...> - 2012-04-22 19:59:13
|
Dear All,
I need to generate latex type of display on eps file. I used
set term postscript eps enhanced color solid
to generate latex display. I use the standard latex command as
c^{\dagger}_{1,\uparrow} c_{2,\uparrow}
to try to generate nice display. But the generated display is not good,
\*** cannot be recognized, space between two c are too wide. I don't know
how to deal with it. The version of gnuplot if 4.4.
Thank you very much for helping me out on this, the latex feature is is
very important for me!
Sincerely,
Jon
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2012-04-22 20:04:03
|
On 22.04.2012 21:59, Jon wrote: > Dear All, > > I need to generate latex type of display on eps file. I used > > set term postscript eps enhanced color solid That's the wrong way to start. You need to understand that "enhanced" is not, nor does it try to be, a full emulation of TeX's math style. If the latter is what you want, you need to use a terminal with 'latex' in the name, e.g. epslatex. > The version of gnuplot if 4.4. That's out-of-date. |
|
From: Jon <dev...@gm...> - 2012-04-22 23:45:02
|
Thanks so much! I didn't use too many types of terminals, but I do know there is reason why so many terminals are produced for use. Is there way to systematically introduce what these terminals are doing? Not to be too technical, but simply say, say, epslatex is to generate eps file for use with latex document, etc Jon 2012/4/22 Hans-Bernhard Bröker <HBB...@t-...> > On 22.04.2012 21:59, Jon wrote: > >> Dear All, >> >> I need to generate latex type of display on eps file. I used >> >> set term postscript eps enhanced color solid >> > > That's the wrong way to start. You need to understand that "enhanced" is > not, nor does it try to be, a full emulation of TeX's math style. If the > latter is what you want, you need to use a terminal with 'latex' in the > name, e.g. epslatex. > > > The version of gnuplot if 4.4. >> > > That's out-of-date. > > |
|
From: walter h. <wh...@bf...> - 2012-04-30 15:06:38
|
Am 23.04.2012 01:44, schrieb Jon:
> Thanks so much!
>
> I didn't use too many types of terminals, but I do know there is reason why
> so many terminals are produced for use. Is there way to systematically
> introduce what these terminals are doing? Not to be too technical, but
> simply say, say, epslatex is to generate eps file for use with latex
> document, etc
>
> Jon
>
Terminals define the type of output you get. eg. "term postscript" will generate
a postscript file. please be aware that the terminal can have arguments attached.
from help term postscript:
set terminal postscript {landscape | portrait | eps}
{enhanced | noenhanced}
{defaultplex | simplex | duplex}
{fontfile [add | delete] "<filename>"
| nofontfiles} {{no}adobeglyphnames}
{level1 | leveldefault}
{color | colour | monochrome}
{solid | dashed}
{dashlength | dl <DL>}
{linewidth | lw <LW>}
{rounded | butt}
{clip | noclip}
{palfuncparam <samples>{,<maxdeviation>}}
{size <XX>{unit},<YY>{unit}}
{blacktext | colortext | colourtext}
{{font} "fontname{,fontsize}" {<fontsize>}}
for more details read 'help terminal'
hope that helps,
re,
wh
|
|
From: Jon <dev...@gm...> - 2012-04-23 21:22:12
|
Dear Hans and other members,
It is great to use epslatex terminal to produce very professional eps file.
But I still met with one issue, that is, I cannot adjust font size for say
key, label, axis, but all the fonts are of the same default size. The
script I used is below. Thanks for further help on fixing this,
Sincerely,
Jon
----------------------
reset
set xlabel "$Log_{10} 1/N$" offset 0,0; set ylabel "$Log_{10}
|Z_{AA}-Z_{GA}|/Z_{GA}$" offset 0,0
set term epslatex color solid
set output "xxxx.eps"
set key at screen 0.38,0.9 font ",30" spacing 4 samplen 3
set label 'g = 0.2' at screen 0.475,0.85 font ",90"
set xlabel font ",30"; set ylabel font ",35"
set xtics 2 font ",30"; set ytics 2 font ",30"
p [-9:-1] [-9:-1] "zfac_f0.5_diff" u 1:2 \
w lp lw 3 ti '$c^{\dagger}_{1,\uparrow} c_{2,\uparrow}$', \
'' u 1:3 \
w lp lw 3 lc 7 ti '$n_{1,\uparrow} n_{1,\downarrow}$', \
'' u 1:4 \
w lp lw 3 ti '$n_{1,\uparrow} n_{2,\downarrow}$', \
x ls 0 lw 3 noti
set output
set term wxt
-----------------------------
2012/4/22 Hans-Bernhard Bröker <HBB...@t-...>
> On 22.04.2012 21:59, Jon wrote:
>
>> Dear All,
>>
>> I need to generate latex type of display on eps file. I used
>>
>> set term postscript eps enhanced color solid
>>
>
> That's the wrong way to start. You need to understand that "enhanced" is
> not, nor does it try to be, a full emulation of TeX's math style. If the
> latter is what you want, you need to use a terminal with 'latex' in the
> name, e.g. epslatex.
>
>
> The version of gnuplot if 4.4.
>>
>
> That's out-of-date.
>
>
|