On Thu, 9 Nov 2000, Milind_Joshi wrote:
>       1. In GNU plot - How to use subscript and superscript in set
>            axislabel statements.
>          This is normally done by when we set term  as 'set term latex'.
>          But I want to know how to achieve this when we use 'set term
>            post portrait'.

You can change the xlabel in latex after producing the figure. Set the
xlabel "myxlabel" (say) in gnuplot. Then 

set terminal postscript eps 22 
set output "myplot.eps" 

This will create a file named "myplot.eps". Then if you are using LaTeX
you can insert this plot and change the xlabel using 'psfrag'. The
relevant part of the LaTeX file is given below:

\documentclass[12pt]{article}
\usepackage{psfrag}
\usepackage[dvips]{graphicx}

\begin{document}

The first line. The second line. 

\begin{figure}
\psfrag{myxlabel}{$\alpha_2 \beta^3$}
\includegraphics{myplot.eps}
\caption{My caption.}
\end{figure}

\end{document}

Compile the above file using LaTeX: 
latex filename.tex
dvips filename.dvi -o filename.ps

and the view the file using 'gv'

gv filename.ps

Hope it is self explanatory.

K. Satheesh Kumar
[EMAIL PROTECTED]


----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to