Serving the Quantitative Finance Community

 
User avatar
reza
Topic Author
Posts: 6
Joined: August 30th, 2001, 3:40 pm

Graphs in LaTex

March 5th, 2002, 12:11 pm

Does anyone here know the command for inserting (excel or ...) graphs in a Tex document?I looked at the usual online LaTex helps but no luck.Thanks in Advance
 
User avatar
Pat
Posts: 28
Joined: September 30th, 2001, 2:08 am

Graphs in LaTex

March 5th, 2002, 1:47 pm

Are you using Scientific Word or straight LATEX?
 
User avatar
DB

Graphs in LaTex

March 5th, 2002, 1:50 pm

I only know of a very cumbersome way. But I would be grateful for better suggestions.You have to put the graph into an application that will be able to print to file (postscript), e.g. Word.Go to the print menu, select print to file and in options select eps format (where exactly to find the menu points depends on your version of Word). Also you have to select a postscript printer.Press printNow after specifying a filename/path and printing, go to the file and change the extension of the printed file to .eps and open it in a postscript viewer. With the cursor go to the bottom left and top right corner of your graph and note down the coordinates.Close the file and open it in a non postscript viewer, e.g. Word. On top you will find four numbers that you will replace with your coordinates and save it.Now you can put a passage in your tex file, referring to the .eps file of the graphe.g.\begin{figure}....When latexing make sure that it is in the same directory as the .tex file.
 
User avatar
Martingale
Posts: 1
Joined: November 15th, 2001, 7:54 pm

Graphs in LaTex

March 5th, 2002, 1:51 pm

Reza: I don't know this help, there is a link where it is shown how to do it on unix(I believe it is very similar on PC). Check the following link "http://www.math.purdue.edu/~bell/Computers/news7.html".
 
User avatar
reza
Topic Author
Posts: 6
Joined: August 30th, 2001, 3:40 pm

Graphs in LaTex

March 5th, 2002, 4:35 pm

Thanks Guys !