Phil schrieb:
i would like to plot a simple function
I would try to use pstricks package for this.
There also is a package called pgf, which includes tikz. Those two are
really powerful and do have very nice output (see
http://www.texample.net/tikz/examples/), but like pstricks, time needs
to be spend reading manuals.
In short, you need to add \usepackage{tikz} and depending on what
exactly you want to do some other statements in you document
settings->Latex preamble. Then add the code you learned reading the
manual in ERT at the places you want, and everything should be fine.
Regards, Florian