comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL graphics & LaTeX
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL graphics & LaTeX [message #94749 is a reply to message #94740] Fri, 22 September 2017 07:06 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Thursday, September 21, 2017 at 7:10:52 AM UTC-4, Markus Schmassmann wrote:
> Hi,
>
> I'm putting graphics created with the IDL graphics functions into a
> LaTeX document.
>
> Does someone here know a way to make sure that the text elements of the
> graphic (axis labels,axis tickmarks,titles,legends...) are typeset by
> LaTeX such that they have the same fonts & sizes as the rest of the
> LaTeX document?
>
> I'm looking for something similar to GNUplot's epslatex terminal.
>
> A brute force approach would be:
>
> idl -e "(plot(/test)).save,'example.eps'&exit"
> grep '^(.*)$' -A 1 example.eps
>
> ; remove those lines from the eps file and parse them to get what I want
> in LaTeX
>
> But I hope someone of you has a better way than to grep & sed an eps file.
>
> Markus

There used to be a package called psfrag which allowed one to do this. I haven't used it in something like two decades, but it sounds like what you want.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: How to use ploterror procedure in idl with no xerror bars?
Next Topic: Gaussian Convolution

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:56:39 PDT 2025

Total time taken to generate the page: 0.00451 seconds