Article View: comp.text.tex
Article #2223Summary on Gnuplot/EEPic/LaTex problem
From: Xuzhi Qin
Date: Fri, 14 Aug 1992 22:50
Date: Fri, 14 Aug 1992 22:50
49 lines
1925 bytes
1925 bytes
Yesterday, I asked the following question:
> How do you solve the problem of horizontally placed y-label when you use
> the combination of Gnuplot/EEpic(or latex)/LaTeX?
Since then, I received 4 replies. two of them said "No way", TeX
doesn't know how to rotate text. The other two suggested me to use
the "shortstack" way, that is, using
set ylabel "y\\l\\a\\b\\e\\l"
to get
y
l
a
b
e
l
Personally I think it is too ugly to appear in a published paper. Then I
decided to give a look on the GnuPlot EEpic output .tex file, and solve the
problem finally. What I did is simple:
(1) change the corresponding line, say,
\put(45,472){\makebox(0,0)[r]{$\sin(\theta)$}}
in the .tex file to
\put(x,y){\rotate{\vbox{sin(x)}}}
where $\sin(\theta)$ is the ylabel, x and y are new proper numbers for
coordinates.
(2) add "rotate" style to the main LaTeX file:
\documentstyle[...,rotate,...]{...}
That's it. Of source, you must have a PS printer in order to get the
correct output. And, a PS screen previewer (e.g., "gspreview" in X-windows)
will certainly makes this "dirty" job more efficient.
-chin-
--
<*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*>
xqin@skat.usc.edu | Dept. Chem. Eng. | (Shuchih Chin)
xuzhiqin@usc.edu | U. S. C. | to be completed
<*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*>
Technical Details
Message-ID:
<l8oe5fINN3kb@sal-sun24.usc.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!usc!chaph.usc.edu!newsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!usc!chaph.usc.edu!news From: xuzhiqin@usc.edu (Xuzhi Qin) Newsgroups: comp.text.tex Subject: Summary on Gnuplot/EEPic/LaTex problem Date: 14 Aug 1992 15:50:23 -0700 Organization: University of Southern California, Los Angeles, CA Lines: 49 Sender: xuzhiqin@sal-sun24.usc.edu (Xuzhi Qin) Distribution: world Message-ID: <l8oe5fINN3kb@sal-sun24.usc.edu> NNTP-Posting-Host: sal-sun24.usc.edu