PDA

View Full Version : Plotting in LaTeX?


LostInSpace
Feb15-04, 11:02 AM
Hi! Is it possible to do a plot directly from LaTeX, ie using a tex command? It would be nice to do something like \plot{x^2+y^2+z^1=1} instead of plotting it in maple, exporting it to PostScript, opening and editing in illustrator, exporting to PDF and then include it in the file...

Thanks on advance!

nbo10
Feb18-04, 03:41 PM
Theres no way to do it automatically. You COULD add all the points and lines one by one, but that would be a waste of time.

JMD

Jarnhus
Feb23-04, 04:17 PM
The way I do it (in Linux) is by plotting the whole thing in GNUplot and making the output in LaTeX-code... This way you can include it by using

\include{plot}

I have put a guide to it on my webpage

http://www.imada.sdu.dk/~jarnhus/pspdf/tutorial.ps