Connect with us

LATEX

Discussion in 'General Electronics' started by Barny, Dec 22, 2003.

  1. Barny

    Barny Guest

    I use LATEX for creating good texts containing a lot of maths formulas. Now
    I am doing some research about signal analisys and have to put some graphs.
    What programms do you recomend for function drowing and analisys and than
    inetgrating it wit Latex or may be something else. tia.
     
  2. flip

    flip Guest

    You might want to look at something like:

    http://www.gnuplot.info/

    Also, you can use programs like Mathematica or Maple V and create postscript
    (or eps) files or jpgs/gifs and the like.

    Depends what are you are doing I suppose.

    Some tips:

    http://www.ittc.ku.edu/~rvc/html/latex.html

    http://www.fnal.gov/docs/products/gnuplot/tutorial/
     
  3. Tyler Neylon

    Tyler Neylon Guest

    I don't know if LaTeX comes with a built-in spell-checker, but
    you should definitely try to use one. (If English is not
    your first language, then I apologize for the implied insult.)

    As for graphs, there are standard packages which help,
    such as "graphicx".

    The usual idea is to create a .eps graphics file and then
    use the \includegraphics command at the right spot in your
    ..tex file. If you have an old X windowing system, you can
    use the program xfig to create simple line-drawings, but
    this application is really out of date. Much more powerful
    is Adobe Photoshop or Jasc Paint Shop Pro. I think that some
    good math programs are also capable of exporting into the
    ..eps format.

    Anyway, there are some good details on this page:
    http://www.sci.usq.edu.au/staff/robertsa/LaTeX/ltxfloats.html

    -Tyler
     
  4. See the UK TeX-FAQ:

    http://www.tex.ac.uk/cgi-bin/texfaq2html?label=drawing

    BTW, the best newsgroup to post LaTeX questions at is comp.text.tex.

    Best regards,

    Jose Carlos Santos
     
  5. Greg Neill

    Greg Neill Guest

    You might take a look at gnuplot.
     
  6. gmrad

    gmrad Guest

    If you use windows the best application to plot and analyze equation is
    Origin. Look for it with Google.
     
  7. There are a lot of ways to approach this but
    here is one combination that will work.

    1. Use Octave to make the plots: e.g.
    x = sort(randn(100,1));
    y = x .^2 + 5;
    plot(x,y);
    %% repeat as needed to get a plot you like, then:
    gset terminal postscript
    gset output 'myplot.ps'
    replot

    Octave is a free, Matlab-like numerical computing environment.
    See: http://www.octave.org

    2. Use graphicx package in LaTeX:

    \documentclass{article}
    \usepackage{graphicx}
    :
    :
    \begin{document}
    See Figure~\ref{myplot} for an example of a plot.
    :
    :
    \begin{figure}
    \begin{center}
    \includegraphics[angle=270,width=4in]{myplot.ps}
    \end{center}
    \caption{\label{myplot}My plot. How nice!}
    \end{figure}
    :
    :
    \end{document}

    Then: latex mydoc.tex; dvips mydoc -o

    I recommend Postscript instead of encapsulated Postscript --
    EPS is essentially a bitmap format and it doesn't scale well.

    In \includegraphics, you can theoretically put any Postscript
    file. However, my experience (painful at times) has been that
    some packages produce PS files that work OK and some don't.
    You'll have to experiment to find out.

    --Western Larch
     
  8. [snip]
    EPS is NOT a bitmap format. It is postscript with special
    comments to be interpreted by the program reading it. It may
    (but need not) have a small bitmapped preview. An EPS file describes
    a single page or figure, normally to be incorporated into larger
    document. For some more descriptive info see:

    http://www.cs.indiana.edu/docproject/programming/postscript/eps.html

    [snip]

    Jim Buddenhagen
     
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-