Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

{\cal F} in gnuplot

153 views
Skip to first unread message

RENZONI_FERRUCCIO

unread,
Jul 18, 2000, 3:00:00 AM7/18/00
to

Hi All,

I am using gnuplot with "set term enhanced post". I would like to have in
a label what in LaTeX would be ${\cal F}$. How can I do that?

Please e-mail to me directly.

Thanks a lot
Ferruccio

Hans-Bernhard Broeker

unread,
Jul 18, 2000, 3:00:00 AM7/18/00
to
In article <Pine.VMS.3.91-b11-vms.1...@alpha5.physnet.uni-hamburg.de> you wrote:
> I am using gnuplot with "set term enhanced post". I would like to have in
> a label what in LaTeX would be ${\cal F}$. How can I do that?

Two ways:

1) use the 'pslatex' terminal driver, so you can write TeX in to you label
strings directly.

2) Find a PostScript font like the one used by LaTeX's \cal and use that.

--
Hans-Bernhard Broeker (bro...@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.

Prof. Jerry Place

unread,
Jul 18, 2000, 3:00:00 AM7/18/00
to
There is a third option that I find useful. I use the \psfrag
macro to replace strings in a Postscript plot produced by GNUplot.

Suppose your GNUplot label was ``F'' and you wanted it to be {\cal
F}. The following \psfrag call accomplishes that:


\begin{figure}
\psfrag{F}{ {\cal F}}
\includegraphics{plot.eps}
\caption{ ... }
\end{figure}

\psfrag is part of most LaTeX distributions and I use it a great
deal on my Linux system. An Internet search for psfrag will return
ample documentation plus the latest version.

-- Jerry Place
-- CSTP

> - -
> [[[[ to unsubscribe from info-gnuplot, send an email with body
> unsubscribe info-gnuplot
> to majo...@dartmouth.edu
> ]]]]
>
>


Carsten Aust

unread,
Jul 19, 2000, 3:00:00 AM7/19/00
to
Referring to Hans-Bernhard Broeker:
> In article <Pine.VMS.3.91-b11-vms.1...@alpha5.physnet.uni

-hamburg.de> you wrote:
> > I am using gnuplot with "set term enhanced post". I would like to have in
> > a label what in LaTeX would be ${\cal F}$. How can I do that?
>
> Two ways:
> 1) ....

> 2) Find a PostScript font like the one used by LaTeX's \cal and use that.

The PostScript font ZapfChancery-MediumItalic seems to be a good choice and
is available for most systems.
Usage:
set label 'F' at 0.5,0.5 font 'ZapfChancery-MediumItalic,12'

--
Dr. Carsten Aust au...@physik.tu-berlin.de
Institut fuer Theoretische Physik Tel. +49 30 314-24410, FAX -21130
Technische Universitaet Berlin http: --
Sekr. PN 7-1, Hardenbergstr. 36, D-10623 Berlin


Mauro Copelli

unread,
Jul 19, 2000, 3:00:00 AM7/19/00
to

I would reinforce a previous suggestion: give "psfrag" a
try. I've used it before, it works beautifully! (just
remember to look at the final PostScript file, the changes
will *NOT* show up in the dvi viewer!).

Regards,

--
Mauro Copelli


0 new messages