IDL produced postscript files in latex [message #22029] |
Tue, 17 October 2000 00:00  |
Simon Webster
Messages: 2 Registered: October 2000
|
Junior Member |
|
|
Hi,
I'm producing postscript files with idl to go in a latex article.
Everything is fine when i just have one plot on the page, but when i
used !p.multi=[0,2,0] latex acted as though the second graph didn't
exist, overwriting the plot with text. Is this a known problem and is
there any way around it?
thanks
simon
(ps David, thanks for the help with the previous query)
Sent via Deja.com http://www.deja.com/
Before you buy.
|
|
|
|
|
|
Re: IDL produced postscript files in latex [message #22137 is a reply to message #22029] |
Thu, 19 October 2000 10:11   |
Nick Bower
Messages: 43 Registered: June 1999
|
Member |
|
|
> forget about LaTeX entirely, but many professional journals and
> conference proceeding publishers appear enamored of this fine, 1980's
> technology.
have something else in mind that separates style from content so well? :)
> They claim it's "free," not counting the number of sys admin
> hours required to get dvi2<output device> software to work, user time to
> wrestle with recalcitrant, publisher-provided macros, and so on.
hehe - use a linux distribution. all packages are pre-configured. on
mandrake for me, the font servers, ghostscript, tex and dvi2pdfm (better
than the standard ghostscript&tex supplied distillers) worked seamlessly
without a single bit of fiddling.
nick
|
|
|
|
|
Re: IDL produced postscript files in latex [message #22168 is a reply to message #22029] |
Wed, 18 October 2000 00:00   |
noymer
Messages: 65 Registered: June 1999
|
Member |
|
|
In article <gurman-793C78.10341818102000@news.crosslink.net>,
"Joseph B. Gurman" <gurman@ari.net> wrote:
> in the macro (usually called something like "psfig")
As I and several others have pointed out, EPS not PS files
should be used, so perhaps you mean epsfig? which is obsolete
and maintained only for backwards compatibility.
> By the way, the macros are written in TeX (as opposed to LaTeX),
Macro internals are *irrevelant* here. RTFM and you won't *ever*
have to look at a macro internal, at least not for something so
mundane as inserting an EPS file.
> usage in which "user" matches that of "drug user." I wish we could
> forget about LaTeX entirely, but many professional journals and
Excuse me, I thought this was comp.lang.idl-pvwave
> They claim it's "free," not counting the number of sys admin
> hours required to get dvi2<output device> software to work,
If it takes your sysadmin hours to do this, methinks you need
a new sysadmin.
Just my $0.02. :-)
- Andrew
Sent via Deja.com http://www.deja.com/
Before you buy.
|
|
|
Re: IDL produced postscript files in latex [message #22169 is a reply to message #22029] |
Wed, 18 October 2000 00:00   |
Theo Brauers
Messages: 58 Registered: November 1997
|
Member |
|
|
I had no problems so far with multi frame plot in latex. However,
I write "ordinarry" postscipt output in IDL and I convert the files
using gview into eps. In latex I use
....
\usepackage{graphicx}
....
\begin{figure}
\figbox*{}{}{\includegraphics[width=8.3cm,angle=0]{ohvsjo1d. eps}}
\caption[]{\label{Figohvsjo1d} Correlation ....}
\end{figure}
....
Best Theo
Simon Webster wrote:
>
> Hi,
>
> I'm producing postscript files with idl to go in a latex article.
> Everything is fine when i just have one plot on the page, but when i
> used !p.multi=[0,2,0] latex acted as though the second graph didn't
> exist, overwriting the plot with text. Is this a known problem and is
> there any way around it?
>
> thanks
> simon
>
> (ps David, thanks for the help with the previous query)
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
--
----------------------------------------------
Dr. Theo Brauers
Institut fuer Atmosphaerische Chemie (ICG-3)
Forschungszentrum Juelich
52425 JUELICH, Germany
Tel. +49-2461-61-6646 Fax. +49-2461-61-5346
http://www.kfa-juelich.de/icg/icg3/MITARBEITER/th.brauers.ht ml
|
|
|
Re: IDL produced postscript files in latex [message #22171 is a reply to message #22029] |
Wed, 18 October 2000 00:00   |
Joseph B. Gurman
Messages: 31 Registered: April 2000
|
Member |
|
|
In article <8siknl$g4k$1@nnrp1.deja.com>, Simon Webster
<simon@nonsense.co.uk> wrote:
> Hi,
>
> I'm producing postscript files with idl to go in a latex article.
> Everything is fine when i just have one plot on the page, but when i
> used !p.multi=[0,2,0] latex acted as though the second graph didn't
> exist, overwriting the plot with text. Is this a known problem and is
> there any way around it?
Given the comments from the previous posters, I woul guess that the
problem lies in the macro (usually called something like "psfig") you're
using to insert the PostScript graphic, or even more likely the
arguments you pass it. I remmember one macro (mercifully, I forget its
name and that of its author) that misdocumented the order of the height
and width parameters, and that prodcued the sort of behavio[u]r ypu're
seeing.
By the way, the macros are written in TeX (as opposed to LaTeX), so
they may look a little strange to LaTex users. (This is definitely a
usage in which "user" matches that of "drug user." I wish we could
forget about LaTeX entirely, but many professional journals and
conference proceeding publishers appear enamored of this fine, 1980's
technology. They claim it's "free," not counting the number of sys admin
hours required to get dvi2<output device> software to work, user time to
wrestle with recalcitrant, publisher-provided macros, and so on. We
should free ourselves of LaTeX and paper at the same time, and have
someone in the community develop a good equation-display facility [based
on Donald Knuth's formalism for TeX, so no one has to relearn how to do
it] for HTML. IMHO, of course.)
Unopinionated as ever,
Joe Gurman
|
|
|
Re: IDL produced postscript files in latex [message #22172 is a reply to message #22029] |
Wed, 18 October 2000 00:00   |
Nick Bower
Messages: 43 Registered: June 1999
|
Member |
|
|
> I'm producing postscript files with idl to go in a latex article.
> Everything is fine when i just have one plot on the page, but when i
> used !p.multi=[0,2,0] latex acted as though the second graph didn't
> exist, overwriting the plot with text. Is this a known problem and is
> there any way around it?
i can confirm there is no problem, encapsulated or not. I use !a column
of 6 (p.multi=[0,1,6]) to the standard postscript device and all plots
come out fine when merged into a latex output.
maybe it has something to do with you using [0,2,0] instead of [0,2,1]?
nick
|
|
|
Re: IDL produced postscript files in latex [message #22264 is a reply to message #22029] |
Thu, 26 October 2000 11:27  |
R.G.S.
Messages: 46 Registered: September 2000
|
Member |
|
|
Hi Simon,
I've been able to use IDL postscript output
in latex a lot with no problems. If you can't
get it working, feel free to email the
ps figure and your latex command and maybe
I can straighten it out.
Off hand I'd guess you have a bounding box problem.
If you have ghostscript, click "show bounding box"
and make sure it is larger than your image.
If that is ok, then you may have the
latex command incorrectly configured.
I use the include graphics package, (the psfig that
others have posted is obsolete).
Cheers,
bob
stockwell (at) co-ra.com
Here is an example that I use (in a latex file)
\begin{figure}
\figbox*{}{}{
\centerline{\includegraphics[angle=180]{sea_meri.ps}}}
\vskip0.2in
\caption[The meridional winds from HWM-93 at a particular local time
for each day of the year]{\small{The meridional winds from HWM-93 at a
particular local time
for each day of the year. The shaded areas are negative (southward) winds.
The contours are at 4 m/s intervals.
For the times 2:00 UT to 8:00 UT there is a significant southward wind
component
in the upper mesosphere from May through August.
\label{hwm_seasonal_merid}}}
\end{figure}
Simon Webster <simon@nonsense.co.uk> wrote in message
news:<8siknl$g4k$1@nnrp1.deja.com>...
> Hi,
>
> I'm producing postscript files with idl to go in a latex article.
> Everything is fine when i just have one plot on the page, but when i
> used !p.multi=[0,2,0] latex acted as though the second graph didn't
> exist, overwriting the plot with text. Is this a known problem and is
> there any way around it?
>
> thanks
> simon
>
> (ps David, thanks for the help with the previous query)
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
|
|
|